Can I publish forms as lightboxes on Joomla?

Yes, you can, but only if you use the downloaded version of Joomla for FTP. Before you paste the code onto your Joomla article, you need to make certain settings for your Joomla website, in order to allow the JavaScript code of our forms run. To enable these settings, just follow the steps below.

  1. Access the Site menu → Global ConfigurationText Filters and for Super Users make sure the No Filtering option is enabled.
  2. In the Extensions tab go to Plugin ManagerEditor TinyMCEBasic OptionsNew Lines: Br ElementsProhibited Elements. Make sure you remove Script and iFrame from that list.
  3. While still in Extensions, access Template ManagerTemplates and choose your active template. Click on its name to edit it.
  4. Next to $docaddStyleSheet, insert this line:
    Make sure the line is added within the tags of the file.
    (Optional: if you don’t have $doc = JFactory::getDocument(); declared already, add it before $doc->addStyleSheet).
  5. Now go to the article you want to insert forms to. In Edit Article click on Source Code (or ToolsSource Code).
  6. In your 123ContactForm dashboard, access the form menu, Get Code and PublishLightbox. Choose the option you need (text link, image, floating button or auto popup), then copy the form code and paste it into the Joomla article source code box. Save the content and you’re done.

Leave a Reply

Your email address will not be published. Required fields are marked *