Difference between revisions of "How to remove 'Business' from SOBI2 listing titles"

From JReviews Documentation
Jump to: navigation, search
(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…')
 
 
Line 28: Line 28:
  
 
[[Category:JReviews]]
 
[[Category:JReviews]]
[[Category:Everywhere]]
+
[[Category:Everywhere Addon]]
 
[[Category:Themes]]
 
[[Category:Themes]]

Latest revision as of 19:49, 6 January 2010

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