JReviews logo Docs
Menu
Version

template_listings.detail:{position}-description

Allows displaying any output above or below the listing description.

Action
Templates
Since 3.8.3

You need to have a working knowledge of Hooks before you get started.

The {position} tag is a placeholder which accepts before and after values:

  • template_listings.detail:before-description
  • template_listings.detail:after-description

Parameters

Name Type Description
$instance parameter (MyView) instance of current view class
$listing parameter (array) current listing array

Boilerplate Code

Use the boilerplate code to start using the action, and add your own logic or echo output.

Clickfwd\Hook\Action::add('template_listings-detail-position-description', function($instance, $listing)
{
    // Execute action or echo output
});
Development & Support
Customizations are not included with support. We provide this information to make it easier for developers to extend the functionality. From time to time we may have some availability for custom work. Get in touch to see if there's an opportunity to work together.

Source Files

  • /views/themes/default/listings/detail_compact.thtml
  • /views/themes/default/listings/detail_tabs.thtml
  • /views/themes/default/listings/detail.thtml