: Change the page title hyphen to a pipe before site name : jakexo September 20, 2014, 11:40:48 AM I've google'd this plenty and tried some solutions but the s5_head_call seems to change the game.
Basically, in a browser page title with "Include site name in page titles" on in the Global config, all titles are shown as Page Name - Site Name which is fine but I'd like to change it to "Page Name | Site Name" I tried adding the following code to the index.php and vertex/cms_core_functions.php file but nothing changed. Any ideas where to find the " - " and change it to " | "? <?php $exception_page = "Home"; $app = JFactory::getApplication(); // optional line if it isn't already in file if (trim($this['system']->document->title)!=trim($exception_page)) { $new_page_title = $this['system']->document->title . " | " . trim($app->getCfg('sitename')); $this['system']->document->title = $new_page_title; } else { $this['system']->document->title = trim($app->getCfg('sitename')); } ?> <jdoc:include type="head" /> : Re: Change the page title hyphen to a pipe before site name : mikenicoll September 22, 2014, 05:27:43 PM Hello,
I am not aware of a way to do that which doesn't involve modifying the database. I would create a post on Joomla.org to see if there is any more information regarding how to make this change. I did a quick search but most results say it isn't possible or are outdated from J1.5 |