Guest Posted April 2, 2010 Share Posted April 2, 2010 请教,1.2.5.0版本里的店名与每个页面的TITLE 顺序是: 店名-Title,如何改成像1.3版本里的:Title - 店名。谢谢! Link to comment Share on other sites More sharing options...
21846657 Posted April 2, 2010 Share Posted April 2, 2010 备份后编辑/classes/Tools.php第493行: $ret['meta_title'] = (isset($metas['title']) AND $metas['title']) ? Configuration::get('PS_SHOP_NAME').' - '.$metas['title'] : Configuration::get('PS_SHOP_NAME'); 修改为: $ret['meta_title'] = (isset($metas['title']) AND $metas['title']) ? $metas['title'].' - '.Configuration::get('PS_SHOP_NAME') : Configuration::get('PS_SHOP_NAME'); Link to comment Share on other sites More sharing options...
Guest Posted April 3, 2010 Share Posted April 3, 2010 谢谢版主.已解决! 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