PeterD Posted February 26, 2023 at 12:47 PM Share Posted February 26, 2023 at 12:47 PM Is there a way to assign an image to a field. I don't mean the images for the options. I have now solved this with the Conditionals Based on Custom Fields, but that would be quite a lot of code in the detail template because I am mapping many fields: <?php if ($CustomFields->fieldValue('jr_field',$listing)): ?> <img src="/icons/web.png">Text <?php echo $CustomFields->field('jr_field',$listing); ?> <?php endif;?> Perhaps I have overlooked the setting? Link to comment
Alejandro Posted February 26, 2023 at 04:46 PM Share Posted February 26, 2023 at 04:46 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
PeterD Posted February 26, 2023 at 05:16 PM Author Share Posted February 26, 2023 at 05:16 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Solution Alejandro Posted February 26, 2023 at 07:21 PM Solution Share Posted February 26, 2023 at 07:21 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
PeterD Posted February 27, 2023 at 11:58 AM Author Share Posted February 27, 2023 at 11:58 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
n00bster Posted March 29, 2023 at 06:40 AM Share Posted March 29, 2023 at 06:40 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
PeterD Posted March 30, 2023 at 07:17 AM Author Share Posted March 30, 2023 at 07:17 AM (edited) This section is only visible with a valid subscription. If you have a valid subscription, please login. Edited March 30, 2023 at 07:17 AM by PeterD n00bster 1 Link to comment
Recommended Posts