jaeitee Posted February 21, 2015 Share 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" Link to comment Share on other sites More sharing options...
jaeitee Posted February 21, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
K4RL Posted February 22, 2015 Share Posted February 22, 2015 Ha Ha I did the same thing the other week Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.