rakeem Posted April 13, 2012 Share Posted April 13, 2012 Hi guys, i am going crazy because i am trying till yesterday to delete the shopname from title on the frontpage. i have tried everything but always getting header errors. i have the german edition 1.3.1 here is the code of /classes/tools.php static public function getHomeMetaTags($id_lang) { global $cookie, $page_name; /* Metas-tags */ $metas = Meta::getMetaByPage($page_name, $id_lang); $ret['meta_title'] = (isset($metas['title']) AND $metas['title']) ? $metas['title'].' - '.Configuration::get('PS_SHOP_NAME') : Configuration::get('PS_SHOP_NAME'); $ret['meta_description'] = (isset($metas['description']) AND $metas['description']) ? $metas['description'] : ''; $ret['meta_keywords'] = (isset($metas['keywords']) AND $metas['keywords']) ? $metas['keywords'] : ''; return $ret; } static public function completeMetaTags($metaTags, $defaultValue) { global $cookie; if ($metaTags['meta_title'] == NULL) $metaTags['meta_title'] = $defaultValue.' - '.Configuration::get('PS_SHOP_NAME'); if ($metaTags['meta_description'] == NULL) $metaTags['meta_description'] = Configuration::get('PS_META_DESCRIPTION', intval($cookie->id_lang)) ? Configuration::get('PS_META_DESCRIPTION', intval($cookie->id_lang)) : ''; if ($metaTags['meta_keywords'] == NULL) $metaTags['meta_keywords'] = Configuration::get('PS_META_KEYWORDS', intval($cookie->id_lang)) ? Configuration::get('PS_META_KEYWORDS', intval($cookie->id_lang)) : ''; return $metaTags; } the german forum is almost dead. no reply. i will appreciate it if somebody could help. Link to comment Share on other sites More sharing options...
runnaa Posted April 14, 2012 Share Posted April 14, 2012 Pls. capture showing a problem of the frontpage Link to comment Share on other sites More sharing options...
rakeem Posted April 14, 2012 Author Share Posted April 14, 2012 Pls. capture showing a problem of the frontpage i am gettin always errors simular to this Link to comment Share on other sites More sharing options...
rakeem Posted April 15, 2012 Author Share Posted April 15, 2012 Aint nobody? Link to comment Share on other sites More sharing options...
Carl Favre Posted April 17, 2012 Share Posted April 17, 2012 Hi rakeem, By "german edition" do you mean a fork? Link to comment Share on other sites More sharing options...
berta recchia Posted June 8, 2012 Share Posted June 8, 2012 This might be a little unrelated but I can't get any answer on my thread. Do you know if there is a way to remove the shop name from the Title Meta tag ? Any suggestion is appreciated. Link to comment Share on other sites More sharing options...
officegopher Posted July 9, 2012 Share Posted July 9, 2012 Do you mean like these sites http://homeofficenow.co.uk & http://officegopher.co.uk? Link to comment Share on other sites More sharing options...
jackson99 Posted July 11, 2012 Share Posted July 11, 2012 try to use dream viewer to delete this stuff may be that will help you to delete this and get out of this problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now