[solved] Dynamic News category

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
tufahija
Forum Members
Forum Members
Posts: 46
Joined: Fri Aug 07, 2009 3:37 pm

[solved] Dynamic News category

Post by tufahija »

Hi guys,

Is it possible to call a News module and dynamically pass the Category parameter. For example:

{news category="{some_UDT}"}

Thanks in advance!
Last edited by tufahija on Mon May 21, 2012 6:56 pm, edited 1 time in total.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Dynamic News category

Post by JohnnyB »

Please clarify "dynamically pass the Category parameter"
Do you want to load a random category each time or is the category based upon the page being viewed?
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: [solved] Dynamic News category

Post by applejack »

Is it possible to call a News module and dynamically pass the Category parameter.
Yes. i.e. {news category="$page_alias"}
Post Reply

Return to “CMSMS Core”