How to remove 'Business' from SOBI2 listing titles

From JReviews Documentation
Revision as of 19:49, 6 January 2010 by Jreviews (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Open this file:

  • \com_jreviews\jreviews\views\themes\{theme_name}\reviews\reviews.thtml


Replace this line:

<div class="contentTitle"><?php echo $Html->sefLink($review['Listing']['title'],$review['Listing']['url']);?> <?php echo Sanitize::getString($review['Listing'],'tag') ? '(' .Sanitize::getString($review['Listing'],'tag') . ')' : '';?></div>


With this:

<div class="contentTitle"><?php echo $Html->sefLink($review['Listing']['title'],$review['Listing']['url']);?></div>



A different solution is to modify the controller file:

  • \com_jreviews\jreviews\controllers\components\everywhere\everywhere_com_sobi2.php


Comment out this line (line 90):

$this->tag