Jump to content

Can't override title with new méthod (witout editing jreview content plusgin)


David pedehourcq

Recommended Posts

Hi,

 

I try to override title for my listing. I used the old method éditing jreview content plugin like this doc : http://docs.reviewsforjoomla.com/Customizing_listing_page_title,_meta_description_and_keywords

 

But now meta and title are define in template (it's a go choise).

 

I have turn off my cache. I try with default theme. I have desactivate all my SEF plugin.

 

... but my custom title don't work.

 

I have change the file "detail.thtml" like this :

/**********************************************************************************
*                                 META DATA
**********************************************************************************/
if($this->action == 'detail' || $this->action == 'view') 
{                    
    $page_meta['title'] = "Tests et avis sur :"+ $listing['Section']['title']+" - "+ $listing['Category']['title']+" - "+$listing['Listing']['title'];

 

Is there a documentation up to date for custom title ? What's wrong for me ? Is there any parameter to activate on admin interface ?

 

 

regards

 

Link to comment
  • 5 months later...
×
×
  • Create New...