Closed (fixed)
Project:
Drupal core
Version:
5.0-beta1
Component:
Garland theme
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Nov 2006 at 13:52 UTC
Updated:
21 Nov 2006 at 12:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
fgmWorkaround: enable color module. This allows the local tasks to appear.
Comment #2
Kjartan commentedNo code to review.
Comment #3
fgmWhat this means is that there is a workaround to review (the one in the comment): the issue could be solved by either documenting the color.module dependency or removing it. Discussion on irc (notably chx) seems to imply removing the dependency could be done by splitting functionality of color.module in a minimal .inc always included, and the module itself, which could be turned on or not, in which case garland would not need the full module, just the .inc.
Comment #4
profix898 commentedThe issue title is a little missleading, because we are talking about local task tabs and not about a profile specific issue.
However is there any progress on this topic? I'm coming from http://drupal.org/node/93044 (thanks Heine) and I really hope we can solve this one. Neither Garland nor any other (core) theme should depend on the color.module IMO. Local task tabs are a critical theme (intrinsic) feature. Why is color.module needed for Garland theme? What parts are not available without it? CSS? Is there anybody working on this?
Comment #5
chx commentedVery little this has to do with color module. If color is off then the _phptemplate_variables, after settings $vars['tab2'] returns an empty array. Opsie.
Also there shoudl be some decision made whether _color_page_alter uses references or returns the changed variables. Both are unnecessary and if this is the function name, I am inclined towards references.
Comment #6
chx commentedComment #7
heine commentedThe culprit is garlands template.php, which returns an empty array when color module is not enabled.
No time to roll a proper patch unfortunately.
Comment #8
heine commentedSorry, I should have refreshed; didn't see your reply chx.
Comment #9
profix898 commentedThe patch works nicely. Thx chx.
Comment #10
dries commentedCommitted to CVS HEAD. Thanks!
Comment #11
(not verified) commented