View Single Post
Old 11-05-2016, 06:36 AM
jespersderlind jespersderlind is offline
Join Date: Apr 2016
Posts: 5

Solved my problem by:

1. creating a custom field,
2. Inserted this code besides the code displaying the title in my templates file "sub_listingSummary.tpl.php", in my case line 55. changed the id to my custom fields id.

$miljo = $link_fields->getFieldById(70);
if(!is_null($miljo) && $miljo->hasValue()) { echo '<span class="miljo">' . $miljo->getOutput(2) . '</span>'; }

3. hidd the custom field from displaying on default place aswell by adding the custom field id on line 5.
$skipped_field_ids = array(70);

Last edited by jespersderlind; 11-05-2016 at 06:38 AM.
Reply With Quote