nican VIP
Total posts: 392
28 Окт 2015 08:50

Hello,

currently in the browser window my records title is as follow

record title - category title - menu item title - site name

I would like to change it to

record title - site name

but I can't find a way to do this

the reaosn is shared content in facebook doesn't look very good, the title string becomes long

I looked in joomla configuration but I don't think the setting is there, there I found only a setting to put the site name after the content title

thank you


Sergey
Total posts: 13,748
28 Окт 2015 10:19

You can add in your article full view template

$this->document->setTitle(strip_tags($item->title) . ' - My Site name');

nican VIP
Total posts: 392
28 Окт 2015 12:10

Thanks! Works perfectly

Работает на Cobalt