Render a region in a panel What I want to do is to render a region in a panel -> add content -> new custom content.
I tried &lt;?php print render($page['region_name']); ?&gt; but it didn't work.

I'm using panels to be able to create more complex layouts and the Context module to show blocks (with menus) on different pages. Thats why I need to render a region in a panel: to put menus on selected pages.
This code is not to supposed to work inside panels. Regions are what you add to your themes and they are ready to use on your theme templates.Panels are used to override your theme templates, its allows to have regions as per the panel layout you choose.$page will not be available to your panels. Using new custom content you can add plain text,html,php but regions will be available here.