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.

Dissecting the Default Templates: Conditional Variable Pairs

November 02, 2007 4:08pm

Subscribe [1]
  • #1 / Nov 02, 2007 4:08pm

    Lisa Wess

    20502 posts

    So, we’ve now been introduced to many of the core concepts in ExpressionEngine, including parameters, variables, paths, assigned variables, and variable pairs.  Now it’s time to begin our adventures into conditionals.

    Conditionals are a powerful concept that allow you to show data based on the existence of some other value stored in the system.  You can create conditionals for any variable in ExpressionEngine; however, there are some variables that ExpressionEngine gives you to make things easier.  This includes testing to see if comments are allowed, and if trackbacks are allowed.  And so we reach the next few lines of our template.

    Onwards!

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

ExpressionEngine News!

#eecms, #events, #releases