Karsten Posted January 7, 2023 at 09:30 AM Share Posted January 7, 2023 at 09:30 AM Hi, I want to place a module between summary and description. Earlier in version 3 I had used this code in the listings/detail.thtml with your help: <?php /* SUMMARY - DESCRIPTION */ ?> <div class="jrListingFulltext"><?php echo $listing['Listing']['summary'];?></div> {loadposition modulname} <div class="jrListingFulltext"><?php echo $listing['Listing']['description'];?> The new one for displaying summary and description seems to be more extensive. <?php \Clickfwd\Hook\Action::action("template_listings.detail:before-description", $listing, $this); ?> <?php /* SUMMARY - DESCRIPTION */ ?> <?php if (! empty($listing['Listing']['text'])): ?> <div class="jrListingFulltext <?php echo $char_limit > 0 ? 'jr-show-more' : ''; ?>" <?php echo $char_limit > 0 ? 'data-characters="'. $char_limit .'"' : ''; ?> itemprop="description"> <?php echo $listing['Listing']['text'] !== strip_tags($listing['Listing']['text']) ? $listing['Listing']['text'] : nl2br($listing['Listing']['text']);?> </div> Yes, I know this is an individual requirement, but maybe you can give me a hint. Link to comment
Solution Alejandro Posted January 7, 2023 at 12:33 PM Solution Share Posted January 7, 2023 at 12:33 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Karsten 1 Link to comment
Recommended Posts