News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Content in iframe shown twice

Started by syad, October 30, 2013, 02:17:11 AM

Previous topic - Next topic

syad

Hello, when i make a modal iframe, the first time the content is shown twice.
This is an example.
<div id="sbox-content" class="sbox-content-iframe" style="opacity: 1;">
Per selezionare questo supporto devi aver selezionato in precedenza anche un elemento nei seguenti supporti: <b>Supporti per il montaggio</b>
<iframe src="index2.php?option=com_photos&amp;task=ln&amp;sname=errorRequirements&amp;qvar1=33" frameborder="0" width="461.29258517" height="155" ">
<html>
<head>
</head>
<body>
Per selezionare questo supporto devi aver selezionato in precedenza anche un elemento nei seguenti supporti: <b>Supporti per il montaggio</b>
</body>
</html>
</iframe>
</div>


Why this? Ty.

AH

You need to add the joomla

&tmpl=component


to your url this prevents showing the site in the iframe
Regards
A

Joomla 4.4.5
php 8.1