MENU_SUGGESTED_ITEM vs. MENU_NORMAL_ITEM

DynV - May 8, 2008 - 15:07

I just had a look at the Menu system and just had a look at MENU_SUGGESTED_ITEM and the administrator suggestion seemed interesting but as I tried it, I don't see any difference from MENU_NORMAL_ITEM. Is there an administration page or section I could see the actual suggestion ?

Thank you !

Suggested items will be

rszrama - May 8, 2008 - 17:33

Suggested menu items will be disabled in the menu admin tables by default. If you change one of these in your own module you'll have to clear the menu cache before you can see the difference.

----------------------
Drupal by Wombats | Current Drupal project: http://www.ubercart.org

menu admin tables ?

DynV - May 9, 2008 - 00:21

Suggested menu items will be disabled in the menu admin tables by default.rszrama

I don't understand what you mean by menu admin tables. And is this a behavior different than with MENU_NORMAL_ITEM ?

Functionally, a suggested

rszrama - May 9, 2008 - 13:08

Functionally, a suggested item becomes a normal item when the admin enables it. What I mean by menu admin tables is the page display at /admin/build/menu. For a core example, enable the search module and go look at that page... the search menu item is a MENU_SUGGESTED_ITEM by default, but when you enable it it acts just like a menu item defined as MENU_NORMAL_ITEM.

----------------------
Drupal by Wombats | Current Drupal project: http://www.ubercart.org

still no noticable difference

DynV - May 9, 2008 - 19:52

Thank you rszrama. I already looked at /admin/build/menu and saw no difference there which is why I'm asking this. I see no difference in /admin/build/menu, is it normal ? Or is the difference supposed to be somewhere else ? I emptied the menu cache at each modification and see no difference in my experimentations.

Maybe I have a blockage and don't see it, can you take a screenshot of the difference and circle or highlight it ?

 
 

Drupal is a registered trademark of Dries Buytaert.