LISE - Displaying items that have passed endtime date.
Posted: Tue Aug 01, 2017 8:44 am
Hi all
Using
CMS Made Simple 2.2.2
CGCalendar 2.4.7
CGExtensions 1.56
CGGoogleMaps2 1.1.1
CGSimpleSmarty 2.1.6
CMSContentManager 1.1.5
CmsJobManager 0.1
DesignManager 1.1.3
FileManager 1.6.3
FilePicker 1.0
Gallery 2.3.2
LISE 1.3
LISEmylist 1.3
MenuManager 1.50.3
MicroTiny 2.2
ModuleManager 2.1.1
Navigator 1.0.7
News 2.51.2
Search 1.51.2
Snippet 0.2.4
I've set up a very useful instance of LISE and am loving how easy it is to set up the templates to display as I need.
However, I can't work out what the archive feature is supposed to do. I thought it would call items that were passed the endtime date but it doesn't. When using the Archive action, it brings up a date link that heads off to the admin pages?
So, what I'm attempting to do is display a summary page of only items that have passed the endtime date - An archive of events so to speak.
{LISEmylist template_summary="past" showall="0"}
of course show all the items regardless of endtime date but also shows coming events which I don't want.
I need to filter out the coming events.
I have tried adding {if $item->fielddefs.startdate.value <= $smarty.now|date_format:"D d M y"} - where startdate is one of my field definitions - and variations of it to filter out the future items. It reorders the summary list but then calls in the future items at the end.
Would very much appreciate any guidance on this. Thanks in advance.
Using
CMS Made Simple 2.2.2
CGCalendar 2.4.7
CGExtensions 1.56
CGGoogleMaps2 1.1.1
CGSimpleSmarty 2.1.6
CMSContentManager 1.1.5
CmsJobManager 0.1
DesignManager 1.1.3
FileManager 1.6.3
FilePicker 1.0
Gallery 2.3.2
LISE 1.3
LISEmylist 1.3
MenuManager 1.50.3
MicroTiny 2.2
ModuleManager 2.1.1
Navigator 1.0.7
News 2.51.2
Search 1.51.2
Snippet 0.2.4
I've set up a very useful instance of LISE and am loving how easy it is to set up the templates to display as I need.
However, I can't work out what the archive feature is supposed to do. I thought it would call items that were passed the endtime date but it doesn't. When using the Archive action, it brings up a date link that heads off to the admin pages?
So, what I'm attempting to do is display a summary page of only items that have passed the endtime date - An archive of events so to speak.
{LISEmylist template_summary="past" showall="0"}
of course show all the items regardless of endtime date but also shows coming events which I don't want.
I need to filter out the coming events.
I have tried adding {if $item->fielddefs.startdate.value <= $smarty.now|date_format:"D d M y"} - where startdate is one of my field definitions - and variations of it to filter out the future items. It reorders the summary list but then calls in the future items at the end.
Would very much appreciate any guidance on this. Thanks in advance.