Site structure
Version 5.x > Site structure > Show Filter News according to year View modes: 
User avatar
Member
Member
gaurav.agrawal-octalsoftware - 4/13/2011 5:23:00 AM
   
Show Filter News according to year
Hi,

I have a News document type, in which i have NewsReleaseDate.
For showing news i used articlelist webpart on the news page.
Now i want a dropdownlist on top of the page and this dropdownlist will be filled by years automatically fetching from news data. How this can be done???
And when user select any year from this dropdownlist, below news list will be filtered according to dropdownlist value. How will we do this???

Can any Kentico Expert give me best solution...

Thanks
Gaurav Agrawal

User avatar
Member
Member
kentico_michal - 4/13/2011 7:15:11 AM
   
RE:Show Filter News according to year
Hi Gaurav,

I would recommend creating a custom filter which would filter news documents according to the selected value from your drop-down list.

Please read following blog to get more information how to do that:
Custom filter development with Kentico CMS


Best regards,
Michal Legen