Parameter for Module

This forum is for general questions about extensions for Joomla! 3.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
kraadde
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Mon Jan 25, 2016 7:23 pm

Parameter for Module

Post by kraadde » Wed Sep 21, 2016 12:06 am

I would like to write a module that could be inserted into a content page with a {loadmodule xxx} statement.
However, I would like to program the module in such a way that different output is generated depending on a parameter , i.e. something like {loadmodule xxx;yyy}. Is that possible or has someone a better solution on how to achieve the task in mind?

Thanks for your help.

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2897
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Parameter for Module

Post by SharkyKZ » Wed Sep 21, 2016 7:25 am

You could just create a content plugin instead. Modules aren't really meant to be displayed in articles.


Locked

Return to “Extensions for Joomla! 3.x”