Create new regions with Context UI and Context Layout

Events happening in the community are now at Drupal community events on www.drupal.org.
Daidy's picture

Hi,

I'm trying to use the Context Layout module to create a layout for the package content type.
The end of this video show the kind of thing I would like to do : http://developmentseed.org/blog/2009/nov/20/admin-rubik-improved-ui-drup...
I have changed the info file of my sub theme to create a new region, this link explains how to do this : http://drupalcode.org/viewvc/drupal/contributions/modules/context/contex...

I also have created a php file for the layout where I put :

<?php
print $NAMEOFMYREGION;
?>

But this doesn't display the new region when I choose a context and the layout I've created. The block doesn't seem to exist at all. So I've continued on searching...

This discussion speak about adding this code in the template.php file : function themeName_preprocess_node(&$vars, $hook) { $vars['custom_region'] = theme('blocks', 'custom_region');}
What I did with no results... And php coding is a domain that I don't manage at all.
I would be happy if someone could help configuring new regions with the Context Layout module. And perhaps more people are interested too.

Thanx

Comments

I forgot to mention the link

Daidy's picture

I forgot to mention the link for the template.php file : http://drupal.org/node/361209

After all, it seems that the

Daidy's picture

After all, it seems that the problem is only that empty regions don't display in the context ui editor...

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: