Form in a lightbox

AleAste 20 Jan, 2011
Hi all, I have a question. How can I load a form in a lightbox? I'm using a component for the Lightbox mangement so I don't need the joomla default modal. I have loaded the form in the lightbox but I can't complete the registration (the form is for registration) because if I click on the Submit button it doesn't go to the next step. I think the problem is relative to the Cronoform module because if I don't use it the registration works (but not in the lightbox!).
Could you help me? Any suggest?
Thanks a lot

Francesco
GreyHead 20 Jan, 2011
Hi Francesco,

What does happen whan you click the submit button?

Have you checked the 'Show a form in a lightbox' article from The ChronoForms Book here?

The basic principles should be the same whichever modal box code you use.

Bob

PS I think the problem is relative to the lightbox because if you don't use it the registration works :-)
AleAste 20 Jan, 2011
When i click on submit....nothing...
Yes i've seen that, i have the book too; but I don't think i need that code...or i'm wrong? Is not for the standard joomla lightbox? Do you think i should create the second form with that code inside?
I think that my component code for the lightbox :
{arisexylightbox activeType="module" width="400" height="350" id="80" link="Registrati" title=""}
<a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register' ); ?>">
<?php echo JText::_('REGISTER'); ?></a>{/arisexylightbox}

will conflict with the standard joomla... or not?
Thanks for your interest.
Regards
GreyHead 20 Jan, 2011
Hi Francesco,

Sorry, I have no idea how arisexylightbox works*. You have a link to the Joomla! registration form there. I guess that you ought to be able to replace that with a link to a ChronoForm. But using links inside plug-ins is always a complex interaction.

Bob

* I see from the features list that it can display external links so presumaby it can display internal links as well.
AleAste 20 Jan, 2011
I've tried to sobstitute the link but it's always the same... but i don't think it's a problem like this...do you know if can I load a CF module on any other module doing it works?
GreyHead 20 Jan, 2011
Hi AleAsty,

Sorry but that's a question for the Ari Sexy Lightbox support.

Bob
AleAste 20 Jan, 2011
Yes, i've asked them. Only one thing...I have not yet understood what should I do if I want to load CF module in another module. In your book you tell how to load a form in a joomla lightbox.. but not related to other modules. Could you explain or is a question that i should post to the module's forum?
Thanks a lot

Francesco
GreyHead 20 Jan, 2011
Hi Francesco,

I'd be very doubtful about loading one module in another :-( Sometimes it may work - with anything complex it's risky.

You should be able to load the form page in the module though.

Bob
This topic is locked and no more replies can be posted.