diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4d1363ab3e1fd98a333d505e38d42eb419a3ab45..9314340ab40bee24f10d90a3f0b22d8ae1413294 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -39,6 +39,10 @@ CHANGELOG.txt to start tracking changes/upgrade data for 7.x-2.x #0000000 - Fixing empty h1 in region--content.tpl.php #0000000 - Removing unmodified core templates in omega/omega/templates #0000000 - Syncing omega.info and omega_starterkit.info +#0000000 - Starting work on turning zones into a renderable array + - This change makes this branch potentially unstable until complete + - Using github, you should only be using the master branch for now + ########################################################################################## ##### Changes in: 7.x-2.0-alpha11 diff --git a/omega/template.php b/omega/template.php index 6fe844b82e051e209357968f11f8cd56e005c2dd..72b3572c420a31218a4b81e28ecb793f1c435b24 100644 --- a/omega/template.php +++ b/omega/template.php @@ -197,6 +197,7 @@ function omega_css_alter(&$css) { * - zone.tpl.php (default) */ function omega_theme($existing, $type, $theme, $path) { + //krumo($path); $hooks = array(); $variables = array( 'zid' => NULL, @@ -220,6 +221,8 @@ function omega_theme($existing, $type, $theme, $path) { 'omega_process_zone' ); $hooks['zone'] = array( + 'template' => 'zone', + 'path' => $path . '/templates', 'variables' => $variables, 'pattern' => 'zone__', 'preprocess functions' => $preprocess_functions, @@ -234,7 +237,7 @@ function omega_theme($existing, $type, $theme, $path) { * @see http://api.drupal.org/api/function/hook_theme_registry_alter/7 */ function omega_theme_registry_alter($registry) { - + //krumo($registry['zone']); } /**