jaeitee Posted February 21, 2015 Posted February 21, 2015 Could anyone share with me how to strip the $label field out of {$record->customFieldDisplayByKey('my_key')|raw} ?My template key is {$record->customFieldDisplayByKey('location_name')|raw} which outputs "Location Name: Location1" $label being Location Name$value being Location1I would like the output of {$record->customFieldDisplayByKey('location_name')|raw} to be simply "Location1"
jaeitee Posted February 21, 2015 Author Posted February 21, 2015 Ignore me, I just realise that it pulls the information directly from Display Options -> Display View Format -> Custom. It's just outputting exactly what i've put in that box. Problem solved
Recommended Posts
Archived
This topic is now archived and is closed to further replies.