VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: syad on October 30, 2013, 02:17:11 AM

Title: Content in iframe shown twice
Post by: syad on October 30, 2013, 02:17:11 AM
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.
Title: Re: Content in iframe shown twice
Post by: AH on October 30, 2013, 10:04:55 AM
You need to add the joomla

&tmpl=component


to your url this prevents showing the site in the iframe