treemenu doesn't show up

treemenu doesn't show up

Thursday 27 April 2006 2:50:21 pm - 2 replies

Author Message

Mads Ovesen

Friday 28 April 2006 3:03:33 am

The code looks right. For some reason your $mainMenu array is empty. Check $module_result.path og $module_result.node_id to see if they are set properly.

/M

/m

David Barber

Tuesday 09 May 2006 11:31:56 am

I had exactly the same problem, using the syntax provided in the Learning eZ publish 3 book. I went looking, and found this response on a French forum (if you don't read French, take a look at the code near the bottom)

http://ezpublish-france.fr/index.php/fr/forums/questions_techniques/menu_gauche_fonction_treemenu

It isn't exactly the same, in that it only generates a menu from whichever node you give it, but it's very clean code, which I appreciate. Of course, you can substitute 'tree' for 'list' to get everything below the current node.

David

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.