Forums / Setup & design / Disappeared menu while node_id is empty

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Disappeared menu while node_id is empty

Author Message

Aleksander Lech

Monday 16 January 2006 5:33:21 am

Hi there,
I know the topic seems solved but I'm still having this problem:

{let docs=treemenu( $module_result.path,
                             is_set( $module_result.node_id )|choose( 2, $module_result.node_id ),
                             array( 1 ),0, 3 )
                             depth=2}

works mainly good, but on search result page menu is gone. $module_result.node_id is empty even though it is set to 2.

Any idea how to make it work??

Regards
Aleksander