News list with year
4 posts by 2 authors in: Forums > CMS Builder
Last Post: June 9, 2014 (RSS)
By esupport - June 2, 2014
Hi,
I am creating news.
There is no problem that news section.
If I want to have year per page. Each page have 12 month news list.
For example :
There are [ 2013 | 2014 | 2015 ] link
When user click the year. The page only display the year news list.
What section I can use? Is there any code sample?
Thanks!
By claire - June 9, 2014
Hi JH
Have you tried using a basic query search? Try adding this to the top of your page, replacing 'date_year' with the appropriate fieldname:
[ <a href="news.php?date_year=2013">2013</a> | <a href="news.php?date_year=2014">2014</a> | <a href="news.php?date_year=2015">2015</a> ]
See this page from the documentation on searches: http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html
Claire Ryan
interactivetools.com
Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
By esupport - June 9, 2014
Hi Ryan
Thank you for your reply.
very appreciated.
I am not a programmer. It is hard to understand the code sometime here.
Thank you again.
JH
By claire - June 9, 2014
No problem. Let me know if you have any issues with it, I'll try to help you along if I can.
Make sure you keep the CMSB documentation on hand for reference as well.
Claire Ryan
interactivetools.com
Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/