Dear all, i have a problem.
I used the modal iframe in other site correctly but now it doesn't work .
I create a form "padre" with a custom element:
and in OnLoad event : Show html
Then i create a second form "figlio"and i put in OnLoad event : Show html .
If i click on frontend view of the first form (padre) ,when i click on the link, the modal iframe doesn't open as popup, but as a normal page.
If i click on test form of the first form (padre) , when i click on the link, the modal iframe open as popup.
Why it works so? The problem is that i have to active any plugin?
I hope someone help me.
Thanks in advance
Daniele
I used the modal iframe in other site correctly but now it doesn't work .
I create a form "padre" with a custom element:
<?php
JHTML::_('behavior.modal');
?>
<html>
<body>
<a class="modal" href="index.php?option=com_chronoforms&chronoform=figlio&tmpl=component" rel="{handler: 'iframe', size: {x: 600, y: 600}}"><?php echo 'padre';?></a>
</body>
</html>
and in OnLoad event : Show html
Then i create a second form "figlio"and i put in OnLoad event : Show html .
If i click on frontend view of the first form (padre) ,when i click on the link, the modal iframe doesn't open as popup, but as a normal page.
If i click on test form of the first form (padre) , when i click on the link, the modal iframe open as popup.
Why it works so? The problem is that i have to active any plugin?
I hope someone help me.
Thanks in advance
Daniele