The problem
I am converting from an old (completly different) blog system to CMS MS and the News module. I have a fair amount of posts (~2100). I would like to provide a way on my site to access a post by the date it was posted. Now I had a look at the options provided by the News module and I can not seem to find any way to find all posts for a single date?
My naive approach
I am fluent in a number of languages, but unfortunately not PHP. However this could be a good excuse to learn it. My thoughts are to create a module that allows me to find the id's of posts from a specific date. This module would put these ids into a smarty variable which I can then use to include the News module and display the post. Something like
Code: Select all
{mymodule date=$date}
{foreach from=$myvariable item=id}
{news articleid=id}
{foreachelse}
No posts found for {$date}
{/foreach}
Any advice is welcome!
regards
Daniel