Current Kit specification - http://drupal.org/project/kit - holds that:
Drupal's theme layer allows themes to implement any number of custom regions and
omit ones referenced by the default core theme Garland. A feature should one of
the following regions for blocks critical to its functionality and can expect a
compliant theme to support them.- `content`: The main page content region.
- `left`: The lefthand sidebar.
- `right`: The righthand sidebar.Other regions may be used for non-critical blocks.
Currently, therefore, it seems that implementing kit-compliant features in fusion-based themes is not possible, since sidebar_first and sidebar_last are hard-coded into Fusion. I'd like to propose making $left an alias for $sidebar_first in the template.php file, and $right correspondingly for $sidebar_last.
Comments
Comment #1
stephthegeek CreditAttribution: stephthegeek commentedNot possible in D6 due to the region naming (ours are not the standard left/right so they can be RTL-compatible) but we're aware of the Kit specification and will look at it for D7.
Comment #2
stephthegeek CreditAttribution: stephthegeek commentedComment #3
aquariumtap CreditAttribution: aquariumtap commentedTo make sure I'm following: by "alias", we're talking about adding "left" and "right" indexes to the $variables array passed to theme preprocess functions, and they'll be copies of our existing regions (sidebar_first, sidebar_last). That sounds reasonable to me, if that's all we need for Kit compliance.
As an aside: renaming these regions entirely would be easy from a code perspective, but we have quite a bit of documentation that refers to sidebar_first and sidebar_last.
Comment #4
stephthegeek CreditAttribution: stephthegeek commentedI haven't looked into it but I would assume that in D7, Kit goes to the new Drupal standard for region naming, which we're already in alignment with. I'm just not sure what else Kit compliance involves.
Comment #5
aquariumtap CreditAttribution: aquariumtap commentedComment #6
Poieo CreditAttribution: Poieo commentedAssuming this is fixed with the D7 standards.
Comment #7
Poieo CreditAttribution: Poieo commented