With the update of Drupal 7 to RC1, the Zen theme and any sub-themes based off of it, is outputting the string 'Array' instead of the rendered tabs when calling print render($tabs);
Same problem here as well, I can confirm that its Zen and its subthemes as I have no problems with core themes to output render tabs when calling print render($tabs);
Same problem when I install Drupal-7-rc1 and zen-7.x-3.x-dev.
I found the issue in zen_menu_local_tasks template.php, should return drupal_render($output)?
I don't know if that's really the issue but works.
#599706: Allow to alter local tasks/actions got committed just before RC1 release. Previously, theme_menu_local_tasks() was horribly, horribly broken. I'm glad that fix got in. But it completely changes the way that theme function works.
Since Zen was overriding the old, broken theme function, it needs to be updated to use the new theme function internals.
Comments
Comment #1
juves commentedI confirm that
Comment #2
juves commentedThere are also no views- and views-exposed-filter blocks in the sidebar.
I am not sure that this is Zen issue, but this blocks are shown in Panels.
UPD It's an Views bug, sorry
Comment #3
flokli commentedSame problem here.
Only
<div class="tabs">Array</div>appears in source code.
Really ugly, because you don't see edit links and such anymore.
Also it could be important to know that you always see the "Array" text, whether logged in (edit tabs visible) or not.
Comment #4
jmaties commentedThe same problem
Comment #5
chichiMi5 commentedSame problem here as well, I can confirm that its Zen and its subthemes as I have no problems with core themes to output render tabs when calling print render($tabs);
Subscribing.
Comment #6
rosborn commentedSame problem upgrading to RC1 from beta3
Comment #7
nathanjo commentedSame problem when I install Drupal-7-rc1 and zen-7.x-3.x-dev.
I found the issue in zen_menu_local_tasks template.php, should return drupal_render($output)?
I don't know if that's really the issue but works.
Comment #8
pingo commentedRunning D7 RC1, getting the same problem... Changing zen_menu_local_tasks as in #7 does the trick, thanks!
Comment #9
5t4rdu5t commentedYes, #7 worked for me too with Zen in D7 RC1.
Comment #10
mattis commentedThanks nathanjo, #7 did the trick.
Comment #11
rosborn commented#7 works for me as well. Many thanks.
Comment #12
markdorisonComment #13
johnalbin#599706: Allow to alter local tasks/actions got committed just before RC1 release. Previously, theme_menu_local_tasks() was horribly, horribly broken. I'm glad that fix got in. But it completely changes the way that theme function works.
Since Zen was overriding the old, broken theme function, it needs to be updated to use the new theme function internals.
Comment #14
johnalbinI've updated zen_menu_local_tasks() and the tabs appear to be fixed.
Comment #17
Sinan Erdem commentedmistaken comment. deleted. sorry