Jump to content

关于blocktopmenu 的一些问题


justin221

Recommended Posts

我测试这个模块的时候出现一些问题,希望高人能解决一下。
我的网站是支持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

这个模块是第三方的,不是官方的吧?在Back Office >> Tools >> Generators >> Htaccess file generation >> Generate .htaccess file 重新生成规则后,看看还有没有问题?

Link to comment
Share on other sites

多谢回复,测试过相同问题仍然存在。不知道谁曾遇到和解决过。等待中。。。


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

我们都在“盲人摸象”。

建议:
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...