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

Support archive

Low Events URL Structure - can it be changed from one segment with dashes to three separate segments?

Terry Evans 23 Mar 2013 13:51 question, complete

I'd like to use Low Events in combination with EE's channel entries paramaters month, day and year which, as far as I know (happy to be corrected), requires each of those to be in separate segments. E.g. month="{segment_2}" etc.

So instead of a single segment:

YYYY-MM-DD

I want to use three separate segments:

YYYY/MM/DD

Can Low Events handle this?

Replies

  1. Low 24 Mar 2013 11:09

    You could probably do it manually. As long as the parameter gets a YYYY-MM-DD format, you can use any URI you want. So, for a URI like /group/template/YYYY/MM/DD, you could use a parameter like this:

    date="{segment_3}-{segment_4}-{segment_5}"


    You'd need to alter the links to use the same structure. Bit more coding needed (as you can't use the {date_url} vars that will always generate YYYY-MM-DD), but definitely possible.

  2. Terry Evans 24 Mar 2013 14:44

    Thanks Low. I ended up coming to a similar conclusion as well :-)
    Module is great BTW!