justin221 Posted May 8, 2010 Share Posted May 8, 2010 我测试这个模块的时候出现一些问题,希望高人能解决一下。我的网站是支持URL rewriting , 在这个blocktopmenu模块的导航菜单上我添加一些CMS的链接,例如:www.xxx.com/content/2-Notice(静态的),在www.xxx.com这个主页面时new products 的链接是www.xxx.com/new-products.php。这个属于正确的链接。然而当我进入到www.xxx.com/content/2-Notice这个页面的时候new products 的链接是www.xxx.com/content/new-products.php,这个属于错误的链接。如果我的网站不用URL rewriting 的话,这一切正常。多谢~ Link to comment Share on other sites More sharing options...
21846657 Posted May 9, 2010 Share Posted May 9, 2010 这个模块是第三方的,不是官方的吧?在Back Office >> Tools >> Generators >> Htaccess file generation >> Generate .htaccess file 重新生成规则后,看看还有没有问题? Link to comment Share on other sites More sharing options...
justin221 Posted May 9, 2010 Author Share Posted May 9, 2010 多谢回复,测试过相同问题仍然存在。不知道谁曾遇到和解决过。等待中。。。 Link to comment Share on other sites More sharing options...
Star Posted May 9, 2010 Share Posted May 9, 2010 多谢回复,测试过相同问题仍然存在。不知道谁曾遇到和解决过。等待中。。。 I beleive it is related to the canonicalurl module. Disable the canonicalurl module, see if the problem soloved. Link to comment Share on other sites More sharing options...
justin221 Posted May 9, 2010 Author Share Posted May 9, 2010 Thanks ,my firend , the same issue for Disable the canonicalurl module Link to comment Share on other sites More sharing options...
21846657 Posted May 10, 2010 Share Posted May 10, 2010 我们都在“盲人摸象”。建议:1. 咨询模块的作者;2. (只需要)把相应的tpl代码post上来。 Link to comment Share on other sites More sharing options...
justin221 Posted May 10, 2010 Author Share Posted May 10, 2010 我们都在“盲人摸象”。建议:1. 咨询模块的作者;2. (只需要)把相应的tpl代码post上来。 这个模块是官store里面的免费模块blocktopmenu.tpl {if $MENU != ''} <!-- Menu --> {$MENU} {if $MENU_SEARCH} <form id="searchbox" action="search.php" method="get"> <input type="hidden" value="position" name="orderby"/> <input type="hidden" value="desc" name="orderway"/> <input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query}{/if}" /> </form> {/if} [removed][removed] [removed][removed] <link rel="stylesheet" type="text/css" href="{$this_path}css/superfish-modified.css" media="screen"> <!--/ Menu --> {/if} Link to comment Share on other sites More sharing options...
justin221 Posted May 10, 2010 Author Share Posted May 10, 2010 blocktopmenu.php 这个太多了,贴不出来http://www.okyaoo.com/ 这个是正在测试的网站。 www.ebayao.com 这个是正在运作的网站 Link to comment Share on other sites More sharing options...
21846657 Posted May 10, 2010 Share Posted May 10, 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