#1
|
|||
|
|||
![]()
Hello i want to use a custom field directly after the title in the same row. Like it does for with feature, popular and new listings. Is this possible to achive?
Best regards! |
#2
|
|||
|
|||
![]()
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>'; } ?></span><?php 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. |
#3
|
|||
|
|||
![]()
Glad you figured this out and thanks for sharing!
|
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using custom field values in listing titles not working | jaysomerville8610 | Discussions, Troubleshooting & Problems | 2 | 02-12-2015 04:24 AM |