Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们如何编辑 Zen Cart 的顶部菜单?我已经安装了一个名为 pure_blue 的模板。我将顶部菜单设置为 TOP_MENU_HOME TOP_MENU_NEW PRODUCTS 等 我想将其更改为 HOME NEW PRODUCTS 等。
默认情况下,这些定义不在 Zen Cart 中;它们是由 Pure Blue 模板添加的。而且由于该模板不在自由软件附加组件中,因此很难知道他们在哪里使用了这些模板。
如果您在 include/templates/YOUR_TEMPLATE 中搜索 TOP_MENU_HOME,您将看到这些值的使用位置。如果我不得不猜测,那将是
includes/templates/YOUR_TEMPLATE/common/tpl_header.php
但做一个搜索会告诉你肯定在哪里。