Jump to content

How to display club custom field in template

Featured Replies

Posted

How would I go about trying to display a custom field for a club in a template? Specifically on the club card.

  • Author

Sort of worked it out

{{foreach $club->fieldValues() as $fields}}
	{$fields['field_1'] )}
{{endforeach}}

 

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

Recently Browsing 0

  • No registered users viewing this page.