Chapter 8 Tips & Tricks

8.1 How can I show the Map inside a tab on the listing detail page

Read the article about Adding jQuery UI tabs to listing detail page. The included _tabs suffixed detail theme file already displays the map inside a tab.

8.2 How to hide the map from certain categories

Each listing type in JReviews has settings to hide the map from all categories that use that listing type:

If you want to hide the map from specific categories regardless of the listing type, you can customize the theme files to remove the map code:

\com_jreviews\jreviews\views\themes\default\listings\detail.thtml
\com_jreviews\jreviews\views\themes\default\listings\listings_blogview.thtml

First create copies of those files and rename them to this:

\detail_nomap.thtml
\listings_blogview_nomap.thtml

Then delete the code for maps in those files and clear the File Registry in JReviews configuration.

To hide the map from specific categories, use the Theme Manager and add a "_nomap" theme suffix to those categories.