Jump to content

Template Logic Error


sobrenome

Recommended Posts

Is there something wrong here?

          {{if $record->customFieldDisplayByKey('metodo_de_preparo') OR
          $record->customFieldDisplayByKey('tempo_ao_fogo') OR
          $record->customFieldDisplayByKey('tempo_total_de_preparo') OR
          $record->customFieldDisplayByKey('porcoes')
          }}
          HTML to display
          {{endif}}

The system is returning:

Error code: EX0

 

Link to comment
Share on other sites

Is there something wrong here?

          {{if $record->customFieldDisplayByKey('metodo_de_preparo') OR
          $record->customFieldDisplayByKey('tempo_ao_fogo') OR
          $record->customFieldDisplayByKey('tempo_total_de_preparo') OR
          $record->customFieldDisplayByKey('porcoes')
          }}
          HTML to display
          {{endif}}

The system is returning:

Error code: EX0

 

​.

I think "customFieldDisplayByKey" is taking 2 values ..

something like this ..

 

$record->customFieldDisplayByKey('FIELD-KEY', 'display')

 

.

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...