Customizing the listing detail page
The listing detail page contains all information about a specific listing (custom fields, media items, reviews, etc.). Here is an example of a listing detail page on the demo site.
If you want to customize the layout of the listing detail page, this is where its default theme file is located:
Before making any theme changes, read about JReviews Code Overrides and create a custom theme.
Almost every block of code in detail.thtml is commented to make it easier to find what you want to modify.
You can make any modifications below "EDIT HTML BELOW THIS LINE" comment.
The detail.thtml theme file also includes some other theme files. For example, this line:
<?php echo $this->element('listing_detail_media',array('position'=>'top','mainMedia'=>$mainMedia));?>
loads a separate theme file which includes all code for listing media items:
<?php echo $this->renderControllerView('reviews','user_reviews',array('listing'=>$listing))?>
loads a separate theme file which includes all code for user reviews:
Most of the listing data is stored in the $listing array. To see the contents of this array, add this line to the detail.thtml:
Also, take a look at the list of mostly used variables