Site Title - missing "show site name before/after title"

02.10.2012 14:31
#1
mommek
Joomshopping forum user no avatar
Name: mommek
15.09.2011
Posts: 136
Quote
Site Title - missing "show site name before/after title"

Hello,

I have enabled option in joomla, that show site name after title of page
(in browsers like "home - mysite.com" or "contacts - mysite.com"

But in joomshoping - it dont work. For example I have open product detail and in title I have "Blue car". Missing "Blue car - mysite.com"

Bug, or just settings?


Joomla: latest
JoomShopping: latest
PHP: latest
MySQL: latest
 
03.10.2012 12:30
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Site Title - missing "show site name before/after title"

Will be fix latter

 
03.10.2012 12:47
#3
mommek
Joomshopping forum user no avatar
Name: mommek
15.09.2011
Posts: 136
Quote
Aw: Site Title - missing "show site name before/after title"

can you show me way, where is the file, that generate <title> tag?

I'll fix it myself.

thanks.

 
03.10.2012 14:42
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Site Title - missing "show site name before/after title"

lib/function.php

function setMetaData($title, $keyword, $description, $params=null){
$config = JFactory::getConfig();
$document =JFactory::getDocument();
if ($title=='' && $params && $params->get('page_title')!=''){
$title = $params->get('page_title');
}
if ($keyword=='' && $params && $params->get('menu-meta_keywords')!=''){
$keyword = $params->get('menu-meta_keywords');
}
if ($description=='' && $params && $params->get('menu-meta_description')!=''){
$description = $params->get('menu-meta_description');
}
if ($config->get('sitename_pagetitles')==1){
$title = $config->get('sitename')." - ".$title;
}
if ($config->get('sitename_pagetitles')==2){
$title = $title." - ".$config->get('sitename');
}
$document->setTitle($title);
$document->setMetadata('keywords',$keyword);
$document->setMetadata('description',$description);
}


Letzte Ă„nderung: 01.11.2012 15:32
 
Copyrights MAXXmarketing GmbH. All Rights Reserved