Search
Other Modals questions
Forum

Module inside modal to open on page load via a URL

shannon's Avatar shannon
I have a module (RSForms module) that needs to display inside a modal.

The modal should only display on page load when triggered by a URL

For instance: www.mywebsite.com?modal=form should load the page with the modal id "form"

I can't seem to get the modal displaying with a module position inside it.

Can you tell me the syntax of the shortcode I need to use please? I guess the shortcode needs both the id of the modal and module position inside it.
Peter van Westen's Avatar Peter van Westen ADMIN
You can use the {modalcontent} tags in which you can place the module.
docs3.regularlabs.com/modals/content/inl...separate-content-tag

To place the module, you can either use the code module tags, or Modules Anywhere:
regularlabs.com/modulesanywhere

Or you could place the module in a separate article, and open that article in the modal.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription