如何将drupal页面制作成菜单和子菜单(如管理员菜单)

发布于 2024-09-12 05:40:06 字数 333 浏览 4 评论 0原文

我是 Drupal 的新手,我只想创建一个网站,其中包含有关我们、联系我们和其他可能在很长一段时间后更改的静态信息等页面。

现在我可以创建主页的页面和子页面。链接显示在徽标的顶部,子页面显示在主页的侧面。

我安装了 dhtml_menu 模块但无法工作。

是否需要对 dhtml_menu 模块进行任何更改才能使页面正常工作?

或者

我需要使用任何其他模块?

请帮我解决这个问题

谢谢。

I'am new to Drupal, i just want to create a website which contains pages like about us, contact us and other static information that may be changed after a long time.

Now i can create the pages and sub pages to main pages. The links are displaying on the top of the logo and the sub pages were showing on the side of the main page.

i installed the dhtml_menu module but not working.

are there any changes required to dhtml_menu module to make work for pages?

or

i need to use any other module?

please help me to solve this issue

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧人哭 2024-09-19 05:40:06

你的问题很令人困惑。如果您只想像管理菜单一样在树中显示页面(这似乎就是您所要求的),那么您不需要任何额外的模块。

只需创建您的页面并将它们全部放在主菜单中即可。然后,创建页面后,将主链接块(在“管理”、“块”中)添加到您想要的任何位置。该块将显示页面的导航树,就像管理员菜单一样。

编辑

哦,那么你想要下拉菜单吗?那么你不需要 dhtml_menu (它只会阻止打开页面时不必要的页面加载),但需要类似 simplemenu 。创建主链接,转到“管理”、“站点配置”、“SimpleMenu”,并将“菜单”设置设置为“<主链接>”。这将显示一个下拉菜单栏以浏览您的网站...

Your question is pretty confusing. If you just want to display the pages in a tree just like the administration menu (which seems to be what you're asking), then you don't need any extra modules.

Just create your pages and put them all in the primary menu. Then, once your pages are created add the Primary links block (in Administer, Blocks) anywhere you want. That block will display the navigation tree of your pages, just like the administrator menu does.

edit

Oh, so you want the drop down menus? Then you don't want dhtml_menu (which will only prevent unneccessary page loading when you open pages), but need something like simplemenu. Create your primary links, goto Administer, Site Configuration, SimpleMenu and set the "Menu" setting to "< Primary links >". That will display a drop down menu bar to navigate through your site...

岁月打碎记忆 2024-09-19 05:40:06

首先我要感谢 wimvds。 “谢谢 wimvds 的编辑,它让我找到了更多模块和主题”。

在主题“admire_grunge”中找到了解决方案,下拉菜单需要在主题中定义。

发现了更多像这样工作的主题。

谢谢。

First i need to say thanks to wimvds. "Thankyou wimvds for your edit it take me to find more modules and themes".

found the solution in a theme "admire_grunge" the drop down menu needs to be defined in the themes it self.

found some more themes that work like this.

Thanks.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文