Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 9, 20187 yr How would I go about trying to display a custom field for a club in a template? Specifically on the club card.
January 9, 20187 yr Author Sort of worked it out {{foreach $club->fieldValues() as $fields}} {$fields['field_1'] )} {{endforeach}}
January 9, 20187 yr $club->fieldValues()['field_1'] Would be a better option. You don't need to loop over the values, and field_1 would be the key not the value.
Archived
This topic is now archived and is closed to further replies.