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.

Template Routes - multiple segment options?

December 01, 2014 3:08pm

Subscribe [1]
  • #1 / Dec 01, 2014 3:08pm

    tubes

    10 posts

    Is there a way to set a template route to allow multiple options for one segment? And then use conditionals in the template to bring up different content?

    For example, can I have one template route allow for:

    mysite.com/products/toys/statues

    and

    mysite.com/products/decorations/statues

    If so, how would you write it? I tried:

    products/{toys|decorations}/statues

    but that didn’t work.

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

ExpressionEngine News!

#eecms, #events, #releases