Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2115

General Questions/New to Joomla! 5.x • Re: How do I create a button link to a popup module?

$
0
0
I think the issue is you're trying to use "loadmodule" in a hyperlink. You can't directly link to modules using the "LoadModule" or "LoadPosition".

You can link to your mailchimp form by embedding that module into an article, link to the article with your button. You just need to add "&tmpl=component" to your link that opens the mailchimp form.
  • Create an article, call it "Newsletter Signup" (or whatever you want to call it)
  • Embed the Mailchimp sign-up form module iwthin "Newsletter Signup" article. (with Loadmodule)
  • The link on the button should include this section : "&tmpl=component" and that will load an essentially blank page, and only load whatever is in the Component (the main content area) of the page (which in this case would be your news sign-up form)
The above should load your modal window, with the mailchimp form and nothing else.

Statistics: Posted by AMurray — Sun Dec 15, 2024 9:36 pm



Viewing all articles
Browse latest Browse all 2115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>