PeterD Posted February 27, 2023 at 02:46 PM Share Posted February 27, 2023 at 02:46 PM (edited) Yes, this is something individual, but somehow I'm not getting anywhere: I want to implement 2 text (field) outputs that depend on the featured status (and therefore paid). If Listing is Featured, then Text 1 should be output, if non Featured then Text 2. I have tried it this way, but it does not work. Here is my attempt: <?php if ($listing['Listing']['featured']); ?> text1 <?php endif;?> <?php if ($listing['Listing']['nonfeatured']); ?> text2 <?php endif;?> Yes, this would also work at the end maybe with an else command I wanted to try it this way. I would be grateful for some tips for the loop Edited February 27, 2023 at 02:47 PM by PeterD Link to comment
Solution Alejandro Posted February 27, 2023 at 03:15 PM Solution Share Posted February 27, 2023 at 03:15 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts