Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

removing leading hypen in title
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: removing leading hypen in title

removing leading hypen in title 17 years, 8 months ago #1793

We're trying to use artio to manage all page titles. We have deleted the joomla site title, now we just want individual titles on each page, we find there is a leading hypen (-) that we cannot remove though. Any ideas on how we can remove this?

Re:removing leading hypen in title 17 years, 8 months ago #1817

  • jirka
Helllo,

to achieve this, you will need to hack the includes\joomla.php file on the line 507. Just delete the ' - ' string there.

$this->_head['title'] = $title ? $GLOBALS['mosConfig_sitename'] . ' - '. $title : $GLOBALS['mosConfig_sitename'];


to

$this->_head['title'] = $title ? $GLOBALS['mosConfig_sitename'] . $title : $GLOBALS['mosConfig_sitename'];


Best regards,
ARTIO Support Team
  • Page:
  • 1
Přihlášení uživatele Prázdný