How to show all entries?
I would like to use the entries tag to show a list of ALL entries, sorted by its event date. At the moment I have to enter a date="".
How could I do this? Can I add multiple years in the date field?
Thanks
Replies
Low 14 Sep 2012 11:44
If you don't need to take advantage of the extra parameters the low_events:entries tag gives you, you can also just use the native channel:entries tag and sort by the Low Events field, eg. {exp:channel:entries channel="events" orderby="event_dates"}
louisk 14 Sep 2012 11:53
Okay, thanks. I just did that and it works great.
Just for the information; how would I do it if I would want to use extra param's?
Low 14 Sep 2012 11:57
The extra params take care of viewing a selection of the events, eg, a given year, month, week or day; all upcoming or all passed events. If you're just showing all events (so, no calculation needed for the event dates to come to a selection), you don't need the extra params, and thus the low_events:entries tag doesn't cater for that.
louisk 14 Sep 2012 15:57
Hi Low, thanks.
When I use:
{exp:channel:entries channel="events" show_future_entries="yes" orderby="event-date-low" sort="desc"}
{if event-date-low:passed}
ACTIVE
{/if}
{/exp:channel:entries}
Its not showing anything. Also "current" doesn't show anything.
Only "upcoming" shows some entries.
What could be wrong?
louisk 14 Sep 2012 16:28
I'm sorry, I don't know whats wrong with me. It works fine... :S