Forums

Form doesn't pick up on Modal

duneman 23 Jun, 2014
Hi there,

In my form, I use a modal-link to open the conditions, that have to be confirmed:
{modal algemene-voorwaarden|width=50%|height=50%}Voorwaarden{/modal}

But, instead of the hyperlink, this line of code gets displayed litteraly. Why is that?

Thanks,
Marco.
GreyHead 23 Jun, 2014
Hi Marco,

Please try dragging a copy of the Joomla! Plug-ins action from the Joomla! actions group into the On Load event and move it up before the HTML (Render Form) action.

Note that this does not support all Joomla! plug-ins - it depends on the plug-in type and the events that it is registered for.

Bob
duneman 23 Jun, 2014
Hi Bob,

It's already there, it doesn't work / problem's still there. It worked before!?

Regards,
Marco.
GreyHead 23 Jun, 2014
HI Marco,

What plug-in are you using? I don't see a modal plugin in my Joomla! 3 test site.

Bob
duneman 24 Jun, 2014
I'm not sure .. But I use the same code somewhere else, where it's working OK!?
duneman 24 Jun, 2014
NoNumber Modals
GreyHead 24 Jun, 2014
HI duneman,

It looks as though it is a System Plug-in (not a Content plug-in) and ChronoForms currently doesn't support system plug-ins.

Bob
duneman 24 Jun, 2014
Answer
1 Likes
Hi Bob,

CF5 worked fine with "{modal algemene-voorwaarden|width=50%|height=50%}Voorwaarden{/modal}" in the code of the form!? As I had to reuse CF4 (because of mail sending problems, other post), this problem occurred.

Ps. I tried, using the output code "<a href="algemene-voorwaarden?tmpl=component" class="modal_link" data-modal-width="50%" data-modal-height="50%" data-modal-iframe="true">Voorwaarden</a>".

This worked for me, so .. problem solved (not knowing what the original problem was).

Regards,
Marco.
This topic is locked and no more replies can be posted.