Render a region in a panel
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.