Hi
I have been trying to create a new custom block with the drupal bluemasters theme. I managed to achieve what i wanted with the block style i wanted and all was well. However on creating the new block this inadvertantly deleted the home block 1 region.

My aim is to create a new block the width of the slide show but still have the 3 small blocks home 1 2 & 3 underneath.
I am not sure if this is a bug or a feature request for an extra block, all i know is i got everything i wanted to create to work fine but lost a block i wanted to keep.
I have attached a screen shot of what i am trying to achieve.
Any advice would be great
Thankyou.

CommentFileSizeAuthor
#2 screen-complete.JPG86.56 KBQuadders
screencap.JPG83.65 KBQuadders

Comments

Quadders’s picture

Fixed it myself
This is how i added the extra block i wanted.
first off in the bluemasters info file i added the region
regions[mission] = mission between the highlighted and content region.

Then i added the following code to the page--front.tpl.php file

if ($page['mission']):

print render($page['mission']);

endif;

Finally i added the following css to the style.css file to match the rest of the blocks. I had to add this after the home blocks area but before the footer area started.
/*
* mission
*/
#mission .region-mission { background:url(images/home-block-header-bg.png) repeat-x top; repeat-x top; padding-bottom:20px; }
.mission .block { width: 950px; float:left; }
#mission .block { background:url(images/home-block-header-bg.png) repeat-x top; padding-bottom:20px; }
#mission .block h2 { height: 36px; font-size:20px; font-weight:bold; color:#ffffff; margin:0; padding:10px 0 0 20px; }
#mission .region-mission .block h2 { background:url(images/icons/man-icon.png) no-repeat 13px 10px; padding:10px 0 0 49px; }
#mission .block .content { background:url(images/sectionbg.png); padding:20px; display:block; overflow:hidden;
font-family: Arial, Helvetica, Sans Serif; font-size: 14px; color: #ffffff; }

Don't forget to clear all sites cache once you upload all the new files.
I think all the coding is correct and did try to include a screen shot but it won't let me. :|
Thanks
Quad.

Quadders’s picture

Issue tags: +block, +Drupal, +theme, +region, +custom, +bluemasters
StatusFileSize
new86.56 KB

Screenshot for the above.
Sorry.

Quadders’s picture

Status: Active » Fixed
Issue tags: -theme +adaptive theme, +add block

Issue fixed
Sorry not sure on all the options on this forum.
Still learning but hope my info helps anyone else looking for the same sort of thing.
Best wishes
Quad.

Automatically closed -- issue fixed for 2 weeks with no activity.

avpaderno’s picture

Issue summary: View changes
Issue tags: -block, -Drupal, -region, -custom, -adaptive theme, -bluemasters, -add block +adaptive themes