dousuohe5882 2013-09-05 14:06
浏览 71
已采纳

重新设计xt Commerce菜单

I`m about to configure an xt Commerce 4 template for a friend.

It´s the shop under: shop.lucas-recknagel.de

My problem is that I´ve designed a site structure where the main category items are placed in a topmenu over the whole page content, and when I select such a main category that the the level2 menu items appearing in the left sidebar.

Here an example:

<ul>
 <li class="level1">MAIN-ITEM1</li>
 <li class="level2">UNDER_01 MAIN ITEM1</li>
 <li class="level2">UNDER_02 MAIN ITEM1</li>
 <li class="level2">UNDER_03 MAIN ITEM1</li>
 <li class="level1">MAIN-ITEM2</li>
 <li class="level1">MAIN-ITEM3</li>
 <li class="level1">MAIN-ITEM4</li>
</ul>

So items with class level1 has to be in the top menu and level2, level3 ... has to be in the side menu.

I`m familiar with php, html and css but I can´t find the php or html object where the menu structure is generated.

I´ve already searched these files:

WEBSERVER/templates/mytemplate/xtCore/box_categories.html
WEBSERVER/xtCore/boxes/categories.php  
WEBSERVER/xtCore/pages/categories.php  
WEBSERVER/xtFramework/classes/class.category.php

But nowhere I can find these structure which is generating the menu.

First I thougt box_categories.html create the structure but even when I delete these file and clean all webserver chaches the menu is still working. I tried also to use a if statement to filter the output of the menu depth but menu working as usual. So I think it is created in another file.

So I hopy anyone of you have an answer for me so solve these problem.

Yours Lucas

  • 写回答

1条回答 默认 最新

  • duangai9678 2013-12-22 15:42
    关注

    I have not tried it, but I think that xt:commerce falls back to the default template if the file box_categories.html is not found. But box_categories.html is the file that create the structure.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡等级和折扣规则
  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分