Difference between revisions of "How do I hide Summary text on listing detail page"
From JReviews Documentation
Line 2: | Line 2: | ||
*<span style="color: blue">\com_jreviews\jreviews\views\themes\{theme_name}\listings\detail.thtml</span> | *<span style="color: blue">\com_jreviews\jreviews\views\themes\{theme_name}\listings\detail.thtml</span> | ||
− | and replace | + | |
+ | and replace: | ||
<source lang="php"> | <source lang="php"> | ||
<?php echo nl2br($listing['Listing']['text']);?> | <?php echo nl2br($listing['Listing']['text']);?> | ||
</source> | </source> | ||
− | + | ||
+ | with: | ||
<source lang="php"> | <source lang="php"> | ||
<?php echo nl2br($listing['Listing']['description']);?> | <?php echo nl2br($listing['Listing']['description']);?> |
Revision as of 21:21, 23 August 2010
Edit this theme file:
- \com_jreviews\jreviews\views\themes\{theme_name}\listings\detail.thtml
and replace:
<?php echo nl2br($listing['Listing']['text']);?>
with:
<?php echo nl2br($listing['Listing']['description']);?>