I am using the Alagna theme from Marinelli and would like to add a block in which I can use rotating banners within the logo image. Is this possible? Here is my website:

http://www.domsyard.com

I would like the banner block to appear to the left of the domsyard.com logo.

Comments

dom_b’s picture

I forgot to mention mine is a subtheme, so I do not have a template.php to edit. I found this info here:

http://drupal.org/node/163660

Where do I put the code that should go in template.php without editing the Marinelli theme code?

dom_b’s picture

I've now solved my problem. I've managed to create a region called banner and put a block in it by doing this:

Added these lines to my subtheme .info file:

regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[footer] = Footer
regions[banner] = banner

Created a template.php file for my subtheme and added this:

<?php
function *****_alagna_regions() {
  $regions = phptemplate_regions();
  $regions['banner'] = t('banner);
  return $regions;
}

Added this line to my page.tpl.php file:

<div id="banner">
<?php print $banner; ?>
</div id="banner">

I removed the any block styling for that region by copying block.tpl.php from th Marinelli folder to my subtheme folder and then creating block-banner.tpl.php

I then moved the banner where I wanted by adding this to my sub themes css file:

#banner {
	float: left;
	margin-top:20px;
	margin-right:0px;
	margin-bottom:0px;
	margin-left:40px;
	}
jklcom99’s picture

The subtheme folder you were referring to, is that the folder you created? Can you post the directory structure and the files you have created?

Thank you

oadaeh’s picture

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

This issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.