Closed (works as designed)
Project:
Panels
Version:
6.x-3.0-rc1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2009 at 16:39 UTC
Updated:
2 Oct 2009 at 07:51 UTC
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
Comment #1
sfyn commentedI created this issue in Zen also - posted here to simplify tracking it down:
http://drupal.org/node/593290
Comment #2
merlinofchaos commentedThe 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.
Comment #3
sfyn commentedAny hints on where to find documentation on enabling ctools tab compatibility in a theme? Maybe I can do it in our sub-theme...
Comment #4
merlinofchaos commentedlook in ctools/includes/menu.inc and search for theme_
Comment #5
sfyn commentedNever mind, I figured it out.
in template.php, just use ctools_menu_primary_local_tasks() instead of menu_primary_local_tasks().
Comment #6
merlinofchaos commentedRight. 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.
Comment #7
iaminawe commentedThanks, 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.