Output of categories
[15:01:42] Alexander Yakovenko (PaFFeN): Good afternoon! I'm rendering a menu through tpl in the template <?php $menu = menu_tree('main-menu'); echo render($menu);?> but how can I make it show child categories as well?
[15:01:56] Alexander Yakovenko (PaFFeN): not just the parent ones.
[15:02:27] Lev Myshkin: Hi, you probably need to write your own module and output it as a block.
[15:02:49] Alexander Yakovenko (PaFFeN): Oh, really? Is there no other way?
[15:03:00] Alexander Yakovenko (PaFFeN): Unless it's only through views.
[15:03:34] Lev Myshkin: Yeah, or through views.
[15:04:06] Alexander Yakovenko (PaFFeN): The thing is, it won't work through views.
[15:04:15] Alexander Yakovenko (PaFFeN): It needs to be in the template.
[15:04:28] Lev Myshkin: You can later output it using module_invoke.