Active
Project:
Omega
Version:
7.x-3.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2012 at 11:10 UTC
Updated:
10 Aug 2012 at 11:10 UTC
Hi,
I have a nested layout which I created by writing
function MYTHEMENAME_alpha_page_structure_alter(&$vars) {
$vars['#excluded']['content']['#weight'] = 2;
$vars['#excluded']['sidebar_first']['#weight'] = 3;
$vars['content']['content']['content_slider']['content'] = $vars['#excluded']['content'];
$vars['content']['content']['content_slider']['sidebar_first'] = $vars['#excluded']['sidebar_first'];
}
in my template.php
Now I created a second layout with the DELTA and the CONTEXT Module.
Unfortunately the function MYTHEMENAME_alpha_page_structure_alter(&$vars) {} also effects my second layout.
How do I restrict the function to one layout?
All the best
Joerg