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.

If an EE variable is not set...

May 03, 2012 5:56pm

Subscribe [1]
  • #1 / May 03, 2012 5:56pm

    fedejp

    3 posts

    Hi. What I want to do is offer a variable to be filled in an entry. But this variable is not required. So, I want to check on my template if the variable was filled. In case it was not filled, my template would print a default text.

    Any help with this one?

    Thanks in advance.

  • #2 / May 03, 2012 6:12pm

    fedejp

    3 posts

    Sorry. It was rather simple. Just with an IF sentence. Thanks anyway

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

ExpressionEngine News!

#eecms, #events, #releases