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.
D7 has a new round of THEME_process_HOOK functions that come after the preprocess functions. This allows more control over the rendering of some things.
You could pass an un-rendered array of data to the sub-theme in the preprocess layer. And then wait to render it to HTML until the zen_process_HOOK function.
I'm pretty sure we could add this level of functions to Zen using some HOOK_theme() magic.
Comments
Comment #1
JohnAlbinFixed.
Comment #2
redraven CreditAttribution: redraven commentedWhen I recently updated to the most recent 2.x-dev release, the assigning of classes to blocks ceased to function. No classes were assigned.
I use the sub-theme method to create a sub-theme of the zen_ninesixty subtheme.
I tracked the problem back to this commit:
http://drupal.org/cvs?commit=255756
And relates to this issue, so I thought I would alert.
I will investigate further, for the time being I've reverted to an earlier dev release.
Do the changes in this commit require changes to how sub-themes are implemented?
Comment #3
redraven CreditAttribution: redraven commentedI carefully read through the new zen documentation (THANK YOU ALL!) and resolved the issue I was having.
Comment #5
vietcoop CreditAttribution: vietcoop commentedThis commit break views-HEAD.
It should be:
Instead:
Comment #6
JohnAlbinThis was fixed over in #564068: Views classes are missing from $classes variable