With Zen 6.x-2.x-dev release, this tab does not appear in zen or any zen sub-theme - with garland on the same site, we do not have this problem.

Any thoughts?

Comments

sfyn’s picture

I created this issue in Zen also - posted here to simplify tracking it down:

http://drupal.org/node/593290

merlinofchaos’s picture

Status: Active » Closed (works as designed)

The edit tab will not appear in themes that override the tab display theme unless they use CTools provided functions. This isn't a bug, and there's nothing Panels can do about it; this problem exists because the theme system provides no good way to add extra tabs without doing some really kind of wrong stuff with the theme, and to prevent incompatibilities with themes, it just doesn't add the tab if the theme is doing an override.

I'm not sure if the zen authors want to add CTools tab compatibility to the theme or not.

sfyn’s picture

Category: bug » support

Any hints on where to find documentation on enabling ctools tab compatibility in a theme? Maybe I can do it in our sub-theme...

merlinofchaos’s picture

look in ctools/includes/menu.inc and search for theme_

sfyn’s picture

Never mind, I figured it out.

in template.php, just use ctools_menu_primary_local_tasks() instead of menu_primary_local_tasks().

merlinofchaos’s picture

Right. Doing a module_exists('ctools') can make it easy enough to check to see if you should use the ctools version or the default version.

iaminawe’s picture

Thanks, I have been having this problem for a while on two different sites and you have solved it.
I guess this should be added to the Zen theme readme.