如何禁用我的 drupal 菜单之一上的 DHTML 菜单?
我是 drupal 的新手,所以请原谅我。我制作了一个菜单,它会自动创建为 DHTML 菜单。我想自己设计菜单样式,只是想打印“ul.menu”树。相反,它执行一些 javascript 和不必要的 CSS。我可以禁用此特定菜单的 DHTML 菜单吗?
谢谢!
I am new to drupal so forgive me. I made a menu and it was automatically created as a DHTML menu. I wanted to style the menu myself and just simply want the 'ul.menu' tree to be printed. Instead, it's doing some javascript and unnecessary CSS. can i disable DHTML menu for this particular menu?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您正在使用 DHTML 菜单模块,并且询问如何禁用某些菜单,那么应该可以通过“管理员”>“菜单”中的配置来实现。站点配置> DHTML 菜单(如 this 和 此讨论)。看起来他们在 v2.2 中有这个功能,然后在切换到 3.x 后丢失了,并在 3.2 左右重新包含。
但您没有指定是否使用此模块,因此由于缺乏信息,我的回答可能完全错误。
If you are using DHTML Menus module, and are asking how to disable it for certain menus, then it should be possible via the configuration in Administrator > Site Configuration > DHTML Menus (as suggested by this and this discussion). Looks like they had this feature in v2.2, then lost after switch to 3.x, and re-included around 3.2 or so.
But you didn't specify whether you use this module or not, so my answer may be completely off due to lack of information.