Genuine 2.7.1所遇到的问题,请大地指教

2016-07-07 15:29 来源:www.chinab4c.com 作者:ecshop专家



1、搜索框问题,很多使用者都遇到了,我也遇到了,是WIN7 IE内核,除开官方给出的演示站(http://www.52yinshuiji.com/271/index.php)外,我几乎看到其他的用这个模板的都存在这个问题!

2、底部导航内容显示问题,相关帖子:http://bbs.ecshop.com/viewthread.php?tid=113919&highlight=Genuine

3、我遇到的在论坛里还没有发现的新问题:后台“商店设置”——“显示设置”,商品分类页默认显示方式,选择为“表格显示”,可是前台还是按“文本显示”,测试后台三种设置,即“列表显示”“表格显示”“文本显示”,其结果前台都是按照文本显示!而且,前台的“ 11.jpg ”这个两个灰色按钮根本就是点了没有反应!

怀疑重写规则问题,后按照官方的(下载回来程序包里的)重新上传,问题依然!

案例网址:http://www.duoduoyo.com/shop/category-14-b0.html

请大地赐教!谢谢!

附重写规则:

[ISAPI_Rewrite]
# 为了确保重写规则不影响服务器上的其他站点
# 请将下面的语句前的#号去掉,并将(?:www\.)?site1\.com改为商店所在域名
#RewriteCond %{HTTP:Host} (?:www\.)duoduoyo\.com
RewriteRule ^(.*)/index.html$ $1/index\.php[I]
RewriteRule ^(.*)/category$$1/index\.php[I]
RewriteRule ^(.*)/feed-c([0-9]+).xml$$1/feed\.php\?cat=$2 [I]
RewriteRule ^(.*)/feed-b([0-9]+).xml$$1/feed\.php\?brand=$2[I]
RewriteRule ^(.*)/feed-type([^-]+)\.xml$$1/feed\.php\?type=$2[I]
RewriteRule ^(.*)/feed.xml$$1/feed\.php[I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6[I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&page=$4&sort=$5&order=$6[I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&page=$4[I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3 [I]
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2[I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)\.html(.*)$$1/category\.php\?$4&id=$2&brand=$3
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$ $1/goods\.php\?id=$2[I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5[I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2[I]
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$$1/article\.php\?id=$2 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html$1/brand\.php\?id=$2&cat=$3&page=$4&sort=$5&order=$6 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3&page=$4[I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)\.html(.*)$$1/brand\.php\?$4&id=$2&cat=$3[I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3[I]
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html$1/brand\.php\?id=$2[I]
RewriteRule ^(.*)/tag-(.*)\.html$1/search\.php\?keywords=$2[I]
RewriteRule ^(.*)/snatch-([0-9]+)\.html$ $1/snatch\.php\?id=$2[I]
RewriteRule ^(.*)/group_buy-([0-9]+)\.html$ $1/group_buy\.php\?act=view&id=$2[I]
RewriteRule ^(.*)/auction-([0-9]+)\.html$$1/auction\.php\?act=view&id=$2 [I]
RewriteRule ^(.*)/exchange-id([0-9]+)(.*)\.html$$1/exchange\.php\?id=$2&act=view[I]
RewriteRule ^(.*)/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/exchange\.php\?cat_id=$2&integral_min=$3&integral_max=$4&page=$5&sort=$6&order=$7 [I]
RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/exchange\.php\?cat_id=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)(.*)\.html$$1/exchange\.php\?cat_id=$2&page=$3[I]
RewriteRule ^(.*)/exchange-([0-9]+)(.*)\.html$$1/exchange\.php\?cat_id=$2[I]

回答:
大地,3问题已经解决了部分,就是可以按照表格显示了,解决方法是,后台,批量重新生成图片。

现在,其他两个显示方式按钮还是不可以按下转换!请赐教。

请问你是否修改过模板,还有切回默认模板正常吗?本地测试该模板,简单重写后未有问题。

换回默认模板也是如此

请问你是否修改过文件,特别是一些js文件

请问你是否修改过文件,特别是一些js文件
晓天 发表于 2010-1-13 11:34


3问题已经解决,把模板文件覆盖,相关JS文件复原覆盖,OK

1与2 问题还有待解决,这个应该是模板的问题了。

请各位遇到的,解决了,分享出来,谢谢。



关于搜索框错位的解决
在themes/Genuine/library/page_header.lbi头文件中,找到

function myonfocus(){
var keys = document.getElementById('keyword');
keys.className = "keybg1";
}
function myonblur(){
var keys = document.getElementById('keyword');
if(keys.value==""){
keys.className = "keybg";
}else{
keys.className = "keybg1";
}
}

注意,原来的文件中没有红色的这个值,加入这两个值后,搜索框就不会错位了!

转载自崖敌发的帖子 帖子地址是这个
http://bbs.ecshop.com/viewthread ... 2%B5%C4%BD%E2%BE%F6