ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

YYMMDD as segment

January 14, 2010 2:40pm

Subscribe [2]
  • #1 / Jan 14, 2010 2:40pm

    KeithW

    138 posts

    I wonder if anyone has implemented event_date or publish_date (in the format YYMMDD) as a segment:
    i.e. instead of archiving past meeting notices (or past articles) under /archive/title ,
    it would be useful to archive them under /archive/date/title or just /date/title (where date is YYMMDD). 
    Likewise corresponding meeting photos (if any) could then be filed under /gallery/date/title.

  • #2 / Jan 14, 2010 4:06pm

    Ingmar

    29245 posts

    You can certainly do that with the entry_date. Using dynamic=“off” and a bit of PHP should easily allow you to do that for other date fields as well. Moving to Howto.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases