Filter news categories on the frontend

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
User avatar
aln_cms
Forum Members
Forum Members
Posts: 88
Joined: Mon Jan 08, 2007 7:09 pm
Location: Ireland

Re: Filter news categories on the frontend

Post by aln_cms »

...mmm you could create a UDT that wraps the news tag, and parses the categories to display??
--
Alan Ryan
Lead Developer
CodeCrunchers Internet Software Development - Ireland
http://www.codecrunchers.ie
User avatar
aln_cms
Forum Members
Forum Members
Posts: 88
Joined: Mon Jan 08, 2007 7:09 pm
Location: Ireland

Re: Filter news categories on the frontend

Post by aln_cms »

UDT's are user defined tags, pieces of PHP code that you can insert in templates, such as {mynewstag} - you'll have to be able to write PHP to solve it this way though.....

(very) mini alg
1. grab posted preferences i.e. X,Y and not Z
2. call the default action on the News Module passing it the categories to display

A
--
Alan Ryan
Lead Developer
CodeCrunchers Internet Software Development - Ireland
http://www.codecrunchers.ie
Duketown

Re: Filter news categories on the frontend

Post by Duketown »

sreteP,

Who will perform the unchecking? A visitor? A known user (who logged in)? In other words is it adhoc checking on/off or should the reaction be saved for the next time the person performing the check/uncheck see the last saved checkings?

Duketown
Duketown

Re: Filter news categories on the frontend

Post by Duketown »

sreteP,

For what I know, and have seen on the news module, programming is needed to turn on cookies.
I hope for you that someone states the opposite and gives an example.

Duketown
Post Reply

Return to “Developers Discussion”