Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 3, 20159 yr 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
May 4, 20159 yr 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') .
May 5, 20159 yr Author I have solved it: you cannot add new line inside {{ }}. The php code has to be written straight.
May 5, 20159 yr I have solved it: you cannot add new line inside {{ }}. The php code has to be written straight. . I think I might had struggled with that one before .. that solved it .. .
Archived
This topic is now archived and is closed to further replies.