$sidebar_second = render($page['sidebar_second']); print $sidebar_second;
generate by default
<div class="region region-sidebar-second sidebar"> <div class="region-inner clearfix"> </div> </div>
How can i remove these wrappers ?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
Add a copy, or edit the existing copy, of the core (or your theme/sub-theme's) region.tpl.php file, to your active theme. You can change the wrapping markup to whatever you like in there.
Clear the cache, and you're done.