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.

Did 'country' become a reserved word?

February 24, 2011 8:40am

Subscribe [1]
  • #1 / Feb 24, 2011 8:40am

    Chris Jennings

    87 posts

    I upgrade to 2.1.3 and then my client noticed this:

    {name_of_country}{/country}

    Instead of the name of the country!

    I am using Matrix to give possible adding of more than one country from a list….
    Couldn’t figure out what on earth (forgive the pun), was going on.
    Then I changed the name of the template variable pair to nation and it worked!

    My fresh code is now:

    {nation backspace="2}{name_of_country}, {/nation}

    So, I just share here, in case anyone else has the problem—and BTW, sorry if I have missed this in the docs somewhere.

  • #2 / Feb 24, 2011 3:49pm

    Ingmar

    29245 posts

    This is only happening after the upgrade? Are you using any extension, perhaps have a global variable / snippet by that name?

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

ExpressionEngine News!

#eecms, #events, #releases