Skip to main content

Timeline for Modifying a single menu link title

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Jan 24, 2015 at 17:38 comment added Cyclonecode @kiamlaluno - Strange I cant get it to work? Hm I must have made some kind of error.
Jan 24, 2015 at 17:36 comment added avpaderno See drupal_alter(), the code after the "Allow the theme to alter variables after the theme system has been initialized" comment. It is adding $theme_key . '_' . $hook to the $functions[$cid] array of the called functions.
Jan 24, 2015 at 17:30 comment added Cyclonecode @kiamlaluno - I tried adding it to my own template file and cleared my cache, but the hook never seemed to be called, so I assumed that one was forced to use a custom module for this.
Jan 24, 2015 at 17:29 comment added avpaderno Themes can implement alter hooks. The problem is that hook_menu_alter() is used to alter what hook_menu() returns, not to alter links added within the user interface.
Jan 24, 2015 at 16:59 history edited Cyclonecode CC BY-SA 3.0
added 112 characters in body
Jan 24, 2015 at 16:53 history answered Cyclonecode CC BY-SA 3.0