开发者

Customize the way a Drupal Menu looks like from my Theme

I'd like my theme to display a menu in a completely custom way. What开发者_Python百科 functions should I have to use in my theme code? Is there any good tutorial out there?


Yes, proceed to api.drupal.org and take a look at theme_menu_tree, theme_menu_item, and theme_menu_item_link. With these overrides, you can change the html that is output by the menu system, and then style accordingly with CSS.

For a tutorial, I would suggest going through the Drupal 6 theming guide.

You might also want to check out this article from palantir, on the menu block module.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜