Closed (fixed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
PHP Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2009 at 07:48 UTC
Updated:
1 Nov 2009 at 18:05 UTC
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 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 commentedI carefully read through the new zen documentation (THANK YOU ALL!) and resolved the issue I was having.
Comment #5
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