Tabs disappeared! menu_primary_local_tasks() returns nothing.

SpriteGF - July 2, 2008 - 00:05

I've been theming a new site all day and for some reason, all tabs have disappeared from every Drupal page (tabs for viewing/editing nodes, tabs in the administration,...). I thought this might have something to do with me replacing these functions:

  • THEME_menu_local_tasks()
  • THEME_menu_item_link()

...but removing my modifications does not mitigate the problem.

Running print(menu_primary_local_tasks()); in the Devel module's Execute PHP block doesn't output anything to Drupal's status/messages.

Any help appreciated. Thanks!

Solved

SpriteGF - July 2, 2008 - 00:25

I switched to another theme, then switched back to the theme under development. Tabs appeared again. The PHP code I entered actually worked this time.

(Oddly enough, clicking "Empty cache" in the Devel module didn't help.)

I'm not sure, but it seems like there's a bigger caching issue somewhere.

 
 

Drupal is a registered trademark of Dries Buytaert.