Share » Forums » Setup & design » Menu disappears click add to basket

Menu disappears click add to basket

Menu disappears click add to basket

Monday 04 October 2004 5:17:44 am - 2 replies

Author Message

Gunnstein Lye

Monday 11 October 2004 5:08:16 am

I think you can use the following logic: If $module_result.node_id is set, use that, else use a specified node (2, for example). Something like this:

{let depth=1
     docs=treemenu( $module_result.path,
                    first_set( $module_result.node_id, 2 ),
                    array( 1 ),
                    2, 5)}

Martin Ulrich

Monday 11 October 2004 5:53:21 am

Thank you! I tried, but it works only partial. Correct leftmenu is shown in basketview, if I write:

{let docs=treemenu( $module_result.path,
                    first_set( $module_result.node_id, 109 ),
                    array( 1 ),
                    0, 2 )
                    depth=1}

But for correct view of all other content I need to write:

{let docs=treemenu( $module_result.path,
                    first_set( $module_result.node_id, 109 ),
                    array( 1 ),
                    2, 2 )
                    depth=1}

(thinking of another solution: If I would know how to define a separate pagelayout for basket, I could define a new menu with separate configuration ...)

ok, looking forward, ! thanks :-)

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

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

36 542 Users on board!

Forums menu