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.

Conditional Global Variables and wildcards

June 14, 2009 10:44am

Subscribe [1]
  • #1 / Jun 14, 2009 10:44am

    Carlo Poso

    35 posts

    Hi all,
    do you know if it’s possibile to put a wildcard into a conditional statement, like:

    {if segment_1 == 'list*'} something {/if}

    Carlo

  • #2 / Jun 14, 2009 3:17pm

    Lisa Wess

    20502 posts

    It is not possible to do this; you’d need to use PHP for that type of comparison.

    Great idea for a feature request though. =)

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

ExpressionEngine News!

#eecms, #events, #releases