Hi,
Instead of embedding a single cms_module tag in a content page and then loading that page from a URL, I am wondering if it is possible to directly open a cms_module tag via a clickable link...
Something along the line of href="{cms_module module=MyModule}"
This could save a lot of work.
Please help if you have any suggestions.
Thanks.
Opening a CMS_Module via a clickable link
Re: Opening a CMS_Module via a clickable link
Code: Select all
action - (required) - The action name to generate a URL to
Are there any examples I could see of what constitutes a valid action or more information on the action parameter?
Thanks.
Re: Opening a CMS_Module via a clickable link
It's the action parameter of the specific module you're linking to.
E.g. for News module it's (from the help):
E.g. for News module it's (from the help):
(optional) action="default" - Override the default action. Possible values are:
"detail" - to display a specified articleid in detail mode.
"default" - to display the summary view
"fesubmit" - Deprecated to display the frontend form for allowing users to submit news articles on the front end. Add the {cms_init_editor} tag in the metadata section to initialize the selected WYSIWYG editor. (Site Admin >> Global Settings)
"browsecat" - to display a browsable category list.