Hi,

I have a nested layout which I created by writing

<?php
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