I'm probably overlooking it somewhere in the documentation, but is there a way of displaying - for example - entries in a given folder only dating from the current day and later?
Just as an example, something like: http://example.com/news.php?f=418&d=20141119
And, if that's the case, then why is this code not working?
ETA: I confirmed that the combined view works, so that narrows it down to why the code isn't working to create the combined view.
Just as an example, something like: http://example.com/news.php?f=418&d=20141119
And, if that's the case, then why is this code not working?
- Code: Select all
<cms:else_if k_nestedpage_name='library-events' />
<cms:set events_id = k_nestedpage_id 'global' />
<li><a href="<cms:show k_menu_link />"><b><cms:show k_menu_title /></b></a>
<cms:else_if k_nestedpage_parent_id='events_id' />
<cms:set current_date = "<cms:date format='Ymd' />" 'global' />
<cms:set new_querystring = "<cms:concat 'd=' current_date />" />
<li><a href="<cms:add_querystring k_menu_link new_querystring />"><b><cms:show k_menu_title /></b></a>
ETA: I confirmed that the combined view works, so that narrows it down to why the code isn't working to create the combined view.