How to remove 'Business' from SOBI2 listing titles
From JReviews Documentation
Revision as of 19:49, 6 January 2010 by Jreviews (Talk | contribs) (Created page with 'Open this file: *<span style="color: blue">\com_jreviews\jreviews\views\themes\{theme_name}\reviews\reviews.thtml</span> Replace this line: <source lang="php"> <div class="con…')
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