This theme doesn't have any regions defined. How to get items inside the content side column area ?

Comments

shruti.sheth’s picture

Hi,
It is possible to add a new region before or after the content side column, one of the ways for doing that is mentioned below *.
It is difficult to add the region or block in content side column as the $content prints the entire content in the column-wrapper.
Also, the $content prints the content in the nodes.
Also, the background image to this content column comes from the following code in your style.css

.help-page,
div.comment,
div.node {
  border-style:solid;
  border-width:1px;
  border-color:#ccc #ddd #eee;
  background:#fff url(images/vrule.png) 65% 0% repeat-y;
  margin:0px 0px 10px;
  -moz-box-shadow:#fff 0px 1px 0px;
  -webkit-box-shadow:#fff 0px 1px 0px;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  }

Therefore it gets difficult to add a new region inside the content column.

* To add a new region before or after content ,you can perform following steps
Suppose the region name is Content New
1. Add the following code in your rubik.info file

regions[left] = "Left sidebar"
regions[right] = "Right sidebar"
regions[content] = "Content"
regions[content_new] = "Content New"
regions[header] = "Header"
regions[footer] = "Footer"

2. Add the following code in your page.tpl.php after <?php print $content ?>

<?php if(!empty($content_new)): ?>
	     <div class="content-new-region">
		<?php print $content_new ?>
		</div>
	     <?php endif; ?>

3. Enable the blocks you want in this Content New region.
Hope this helps!

Thanks,
Shruti.

aramboyajyan’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

All old and outdated 6.x issues are being closed.
Maintainer support will be provided only for major / blocking issues.

If you feel like this issue should be re-opened, feel free to do so.

Thanks!