Hi,
What is the syntax for creating a lightbox with Joomla 1.6.3 and v4. I have tried the following and get nothing on the page apart from the Powered By ChronoForms - ChronoEngine.com yet no form so something is loading on the page.
<?php JHTML::_('behavior.modal'); ?>
<a class="modal" href="http://localhost:8888/dev.eafs.eu/index.php?option=com_chronoforms&chronoformname=formrequestcallback&tmpl=component" rel="{handler: 'iframe', size: {x: 600, y: 600}}">Lightbox Me</a>
I have also tried replacing chronoformname=formrequestcall with chronoform=formrequestcallback and again get the same no form no popup.
Anyone got any suggestions. Seems to be a distinct lack of tutorials on this major upgrade..
What is the syntax for creating a lightbox with Joomla 1.6.3 and v4. I have tried the following and get nothing on the page apart from the Powered By ChronoForms - ChronoEngine.com yet no form so something is loading on the page.
<?php JHTML::_('behavior.modal'); ?>
<a class="modal" href="http://localhost:8888/dev.eafs.eu/index.php?option=com_chronoforms&chronoformname=formrequestcallback&tmpl=component" rel="{handler: 'iframe', size: {x: 600, y: 600}}">Lightbox Me</a>
I have also tried replacing chronoformname=formrequestcall with chronoform=formrequestcallback and again get the same no form no popup.
Anyone got any suggestions. Seems to be a distinct lack of tutorials on this major upgrade..
Hi,
Does loading the form through the "frontend view" link in the forms manager shows the form ok or it has the same issue ? if its the same issue then please check our tutorials for V4, you need the "show HTML" action in the "on load" event.
Regards,
Max
Does loading the form through the "frontend view" link in the forms manager shows the form ok or it has the same issue ? if its the same issue then please check our tutorials for V4, you need the "show HTML" action in the "on load" event.
Regards,
Max
Hi,
The form shows up ok on another link without the modal class. The link just seem to disappear on the page. I believe as I said it must be loading something as the Chronoforms link shows up on the page.
The form shows up ok on another link without the modal class. The link just seem to disappear on the page. I believe as I said it must be loading something as the Chronoforms link shows up on the page.
Ah,
Finally got it working
option=com_chronoforms
chronoform=formcontactadvisor
are the differences... Just the style sheet images not showing up ../images/image.gif but presume this will work when the site goes from development to production and the base url start working waheyyy...
Thanks also I had forgot to show HTML in the action tab...
Finally got it working
<?php
JHTML::_('behavior.modal');
?>
<a class="modal" href="index.php?option=com_chronoforms&chronoform=formcontactadvisor&tmpl=component" rel="{handler: 'iframe', size: {x: 650, y: 620}}">Contact Advisor</a>
option=com_chronoforms
chronoform=formcontactadvisor
are the differences... Just the style sheet images not showing up ../images/image.gif but presume this will work when the site goes from development to production and the base url start working waheyyy...
Thanks also I had forgot to show HTML in the action tab...
Thanks,
I should really post the full item so here it is
Differences for version 4 on 1.6
com_chronocontact is now com_chronoforms
chronoformname is now chronoform
Now for the big form creating a payroll calculator and displaying the results. This should be fun...
I should really post the full item so here it is
<?php
JHTML::_('behavior.modal');
?>
<a class="modal"href="index.php?option=com_chronocontact&chronoformname=form_name&tmpl=component" rel="{handler: 'iframe', size: {x: 400, y: 200}}">Subscribe to our newsletter</a>
Differences for version 4 on 1.6
<?php
JHTML::_('behavior.modal');
?>
<a class="modal" href="index.php?option=com_chronoforms&chronoform=form_name&tmpl=component" rel="{handler: 'iframe', size: {x: 400, y: 200}}">Subscribe to our newsletter</a>
com_chronocontact is now com_chronoforms
chronoformname is now chronoform
Now for the big form creating a payroll calculator and displaying the results. This should be fun...
This topic is locked and no more replies can be posted.