Hi all,
I'm hoping that some of the more experienced Themers can help, (I'm a complete newbie:)
I've created a Bartik sub theme, and, I'm trying to create a new region below 'Content', to contain my View "What's on Latest".
I've been following this thread:
http://drupal.org/node/1080580
And trying to re-create the new region, by amending the mycustomtheme.info from this:
regions[featured] = Featured
regions[content] = Content
regions[sidebar_first] = Sidebar first
regions[sidebar_second] = Sidebar second
To this:
regions[featured] = Featured
regions[content] = Content
regions[whats_on] = Whats on
regions[sidebar_first] = Sidebar first
regions[sidebar_second] = Sidebar second
And then adding to the mycustomtheme\templates\page.tpl.php file from this:
</div></div> <!-- /.section, /#content -->
<?php if ($page['sidebar_second']): ?>
<div id="sidebar-second" class="column sidebar"><div class="section">
<?php print render($page['sidebar_second']); ?>
</div></div> <!-- /.section, /#sidebar-second -->
<?php endif; ?>
To this:
if ($page['whats_on']):
print render($page['whats_on']);