Jump to content

Template Syntax Error


Hunter Lyons

Recommended Posts

I made a custom field call Information Box that is yes/no. In Pages I am using the following expression:

{{if $record->customFieldDisplayByKey('info_box','display') == 1}}
 

{{endif}}

There is content inside the if statement. However, it does not display the content regardless of whether or not I turn the ticker on/off for an article. 

I am using the correct reference to the field and have been trying to get this to work for a few days now. How can I fix this? I am following the advice in the template syntax help guide. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...