AndyLAU Posted April 8, 2009 Share Posted April 8, 2009 大家有没有发现到,开启了rewrite功能后,"Viewed products block" (最近浏览商品) 链接不对,演示请看http://www.pspstore.cn ,请问如何修改才呢让它正常呢? Hope for your reply,Thanks!PS:当第一次更换语言的时候有时也会出现找不到网页,但有时又不会 Link to comment Share on other sites More sharing options...
Star Posted April 8, 2009 Share Posted April 8, 2009 大家有没有发现到,开启了rewrite功能后,"Viewed products block" (最近浏览商品) 链接不对,演示请看http://www.pspstore.cn ,请问如何修改才呢让它正常呢? Hope for your reply,Thanks!PS:当第一次更换语言的时候有时也会出现找不到网页,但有时又不会 Well, sorry... I think the copy of your script has problem. I don't have this kind of problem at all. And I never heard that this is a problem.. Something may be wrong with the copy of your script.... Link to comment Share on other sites More sharing options...
Ryan.cn Posted July 3, 2009 Share Posted July 3, 2009 大家有没有发现到,开启了rewrite功能后,"Viewed products block" (最近浏览商品) 链接不对,演示请看http://www.pspstore.cn ,请问如何修改才呢让它正常呢? Hope for your reply,Thanks!PS:当第一次更换语言的时候有时也会出现找不到网页,但有时又不会 now,you site not look viewed module.you delete it?this bug repire:edit this file: /classes/Link.phpsearch function getProductLink.ORG:return ($this->allow == 1)?( _PS_USE_SSL_ . __PS_BASE_URI__ . $id_product->category .'/'.intval($id_product->id).'-'.$id_product->link_rewrite.($id_product->ean13 ? '-'.$id_product->ean13 : '').'.html') : (_PS_USE_SSL_.__PS_BASE_URI__.'product.php?id_product='.intval($id_product->id));replace to :return ($this->allow == 1)?( _PS_USE_SSL_ . __PS_BASE_URI__ . ($id_product->category ? ($id_product->category .'/') : '').intval($id_product->id).'-'.$id_product->link_rewrite.($id_product->ean13 ? '-'.$id_product->ean13 : '').'.html') : (_PS_USE_SSL_.__PS_BASE_URI__.'product.php?id_product='.intval($id_product->id));ok Link to comment Share on other sites More sharing options...
Lonki Posted August 9, 2009 Share Posted August 9, 2009 什么版本? 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