News Module - Browsable Category List to show Date of latest item posted

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
nialltwomey
New Member
New Member
Posts: 3
Joined: Thu Apr 10, 2008 10:49 am

News Module - Browsable Category List to show Date of latest item posted

Post by nialltwomey »

Hi
I am using the news module  with the browsable Category List ( Parameter browscat=1).
Does anyone know who this list could be modified to show the date of the latest news item posted under each category.
This would be very usefull to help users decide if they want to drill down on a particular category to view the news items

A browsable News module looks like
Category1 (3)
Category2 (2)
Category3 (6)

I would like it to look like

Category1(3) -  Most recent post 08 Mar
Category2(3) -  Most recent post 04 Apr
Category3(6) -  Most recent post 07 Apr


I think the place to make the change is in the Browse Category Template, but I dont know how to modify this

Any help much appreciated

Niall
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: News Module - Browsable Category List to show Date of latest item posted

Post by Nullig »

I believe that this would require a rewrite of the action.browsecat.php itself, not just a template change.

Nullig
nialltwomey
New Member
New Member
Posts: 3
Joined: Thu Apr 10, 2008 10:49 am

Re: News Module - Browsable Category List to show Date of latest item posted

Post by nialltwomey »

thanks, I'll take a look at that
Rgrds
Niall
Post Reply

Return to “Developers Discussion”