All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

How to show all entries?

louisk 14 Sep 2012 11:41 question, complete

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

  1. 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"}

  2. 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?

  3. 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.

    David 22 Sep 2012 21:53

    hm... but what if I would want to list all passed events in chronological order. I need to take advantage of the low params and I need to be able to sort by the start_date.

    Trying to do that I get the following, pretty useless sortorder

    11 Aug
    08 Sep
    13 Sep
    17 May
    15 Aug
    21 Sep

    What did I miss this time? :)

    /David

    Low 23 Sep 2012 14:40

    Use low_events:entries unit="passed" to get a list of passed events (sorted by start_date).

    David 24 Sep 2012 08:21

    Ah yes!
    I thoght I tried that but I littered the tag various combinations of orderby, sort, unit and show_passed etc.

    Thanks!

  4. 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?

  5. louisk 14 Sep 2012 16:28

    I'm sorry, I don't know whats wrong with me. It works fine... :S