[support] Need opinions re D7/menus

Jeff Greenberg listmail.ayendesigns at gmail.com
Mon Mar 18 17:53:23 UTC 2013


Hi. Have 2 menus sitting in admin/structure/menu. They do not front paths
to module code, so are not in a hook_menu. Because they have some links
that lead to the same path, they are not in features.

The problem is changing them and propagating the changes in a deployment.
To me, the two options are to do it via an update with hook_update_N, or to
remove them from the UI and put some code in the appropriate hook_init to
do menu_save and menu_link_save's when the page is loaded.

Can't decide, but leaning toward the latter :-s

Jeff

-- 
---
drupal.org/user/367108
linkedin.com/in/jeffrgreenberg
accidentalcoder.com / ayendesigns.com
@accidentalcoder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130318/173683a5/attachment.html 


More information about the support mailing list