Hello everybody,
I have a website where I want to display news on the front page and news on another page called "news". (same website)
I have got this working without any problems.
Now I would prefer to only have some "special" news displayed on the homepage and all news on the "news" page. Is this possible? I could imagine doing this by adding a custom field like "special: true/false", and then somehow only fetch the news on the homepage where this field special == true.
Is this the right way?
Thanks for reading!
Regards
News Module custom fields
Re: News Module custom fields
What about the use of categories for that? Then you don't have to add a field, plus it should be more efficient.
(optional) category="category" - Used in the summary view to display only items for the specified categories. Use * after the name to show children. Multiple categories can be used if separated with a comma. Leaving empty, will show all categories. This parameter also works for the frontend submit action, however only a single category name is supported.
Re: News Module custom fields
Perfect! Didn't come to my mind. Thanks for that!
Greets
Greets
Re: News Module custom fields
Solved? Please add [solved] to the title of the first postchriggi wrote:Perfect!
http://forum.cmsmadesimple.org/viewtopi ... =8&t=13968
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -