Jump to content

Removing (Business) and changing listing image not working


capeinfo

Recommended Posts

I'm using Joomla 1.5.19 and I've just upgraded to jReviews 2.2.02.168

 

I've lost some previous changes and I just cannot seem to make them again -

 

(Business) in listing

I've made the changes shown here -

// $this->fields[] = "'{$this->tag }' AS `Listing.tag`";

 

and removed it from the theme file:

com_jreviews\jreviews\views\themes\{your_theme}\reviews\reviews.thtml

by replacing 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>

 

but, after cleaning the cache, (Business) still shows.

 

Listing image

jReviews uses the images column in the jos_sobi2_item table in the integration file for Sobi2.  This is the logo image in current versions of Sobi2 and I need the "icon" image in the icon column to show.

I changed line 38 at com_jreviews/jreviews/controllers/components/everywhere/everywhere_com_sobi2.php from

'Listing.image AS `Listing.images`',

to

'Listing.icon AS `Listing.images`', 

 

It makes no difference to the display in the module.

Link to comment
  • 1 month later...
×
×
  • Create New...