Jump to content

{$record->customFieldDisplayByKey('my_key')|raw} remove $label from output?


jaeitee

Recommended Posts

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 Location1

I would like the output of {$record->customFieldDisplayByKey('location_name')|raw} to be simply "Location1"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...