Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With alpha11 I've created a zone--footer.tpl.php for theming zone footer.
Now, with 2.0 version, zone.tpl.php take priority over zone--footer.tpl.php
I would quote part of theme() description:
There are two special variables that these preprocess and process functions can set: 'theme_hook_suggestion' and 'theme_hook_suggestions'. These will be merged together to form a list of 'suggested' alternate theme hooks to use, in reverse order of priority.
I don't know if this is the right way, but I would add a proposed patch
Comment | File | Size | Author |
---|---|---|---|
restore_zone--ZONEID_priority.patch | 1020 bytes | robertom |
Comments
Comment #1
himerus CreditAttribution: himerus commentedThank you for this.
Appears this would be a regression bug, and I'll look at it asap.
Comment #2
himerus CreditAttribution: himerus commentedTested, and working with this patch.
I'm going to mark this as critical as it deserves a new version push immediately.
Will be 2.1 before the end of the day.
Comment #3
himerus CreditAttribution: himerus commentedTagging 2.1 release now
Comment #4
robertom CreditAttribution: robertom commentedThanks for new release :)
I forgot to mention this before, but I think that description of hook_theme() implementation (omega_theme) could be cleared a bit.
If I haven't misunderstood, this patch solve the WTF