Menu output
[15:01:42] Alexander Yakovenko (PaFFeN): Good afternoon! I'm rendering a question through tpl in the menu template <?php $menu = menu_tree('main-menu'); echo render($menu);?> so 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 damn, 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 that 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
[15:05:42] Alexander Yakovenko (PaFFeN): let me read up on it