The contact form you have mentioned, is it a eZ Publish contact from or a custom script? Start from locating a template where you want to add a link with JavaScript listener bind to it. Then use jQuery or whatever lib you pref for displaying modal view. Turn on debug output with enabled list of used templates.
The contact form you have mentioned, is it a eZ Publish contact from or a custom script? Start from locating a template where you want to add a link with JavaScript listener bind to it. Then use jQuery or whatever lib you pref for displaying modal view. Turn on debug output with enabled list of used templates.
Hello, thank you for your answer :) I managed to implement jquery.fancybox modalpopups, my current issue is that the form is precisely a eZ Publish contact form and I don't know how to isolate the form from its template. How can I know which templates are being called on each address? Where do I define such conditions?
What you can do is to pipe it over the custom pagelayout using layout/set module. eZ Publish comes with popup dedicated pagelayout (located in design/standard/templates/popup_pagelayout.tpl). Try something like www.example.com/layout/set/popup/URL_TO_CONTACT_FORM. Take a look on settings/layout.ini for more info as well as use concat() and ezurl() template functions.