Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Aetherdan Posted January 9, 2018 Posted January 9, 2018 How would I go about trying to display a custom field for a club in a template? Specifically on the club card.
Aetherdan Posted January 9, 2018 Author Posted January 9, 2018 Sort of worked it out {{foreach $club->fieldValues() as $fields}} {$fields['field_1'] )} {{endforeach}}
bfarber Posted January 9, 2018 Posted January 9, 2018 $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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.