Posted by mjross on March 28, 2012 at 6:20pm
2 followers
Jump to:
| Project: | BlueMasters |
| Version: | 7.x-1.3 |
| Component: | Miscellaneous |
| Category: | task |
| Priority: | minor |
| Assigned: | MJCO |
| Status: | needs review |
Issue Summary
Using a clean installation of D7 and BlueMasters, the "Main page content" block in the Content region is not displayed. In fact, anything placed in that region is not displayed. Please see the attached image. I tested this in Firefox and IE, with all ad blockers disabled. In Firefox, the error console indicates no errors.
Any ideas what might be going wrong?
| Attachment | Size |
|---|---|
| BlueMasters.png | 462.99 KB |
Comments
#1
This is by design.
Bluemasters uses a custom front-page template which has a number of block regions...
Read the documentation here:
http://wiki.morethanthemes.com/index.php?title=Blue_Masters_7.x
If you want the normal drupal front page (you'll lose the slideshow without making changes to the theme):
Remove the "page--front.tpl.php" file from the theme directory.
If you want the normal drupal front page (AND the slideshow/banner on ALL pages):
Open file: "template.php"
Change:
if (drupal_is_front_page()) {drupal_add_js(drupal_get_path('theme', 'bluemasters') . '/js/bluemasters.js');
}
To:
drupal_add_js(drupal_get_path('theme', 'bluemasters') . '/js/bluemasters.js')Open file: "page.tpl.php"
Find:
</div><!--EOF:header-->After, add:
<div id="banner"><?php print render($page['banner']); ?>
</div><!--EOF:banner-->
Remove file: "page--front.tpl.php"
Create an HTML block (Admin/Structure/Blocks/Add)
Insert:
<div class="main_view"><div class="window">
<div class="image_reel">
<a href="#">
<img src="<?php print base_path() . drupal_get_path('theme', 'bluemasters') . '/images/slide-image-3.jpg'; ?>">
</a>
<a href="#">
<img src="<?php print base_path() . drupal_get_path('theme', 'bluemasters') . '/images/slide-image-2.jpg'; ?>">
</a>
<a href="#">
<img src="<?php print base_path() . drupal_get_path('theme', 'bluemasters') . '/images/slide-image-1.jpg'; ?>">
</a>
</div>
<div class="descriptions">
<div class="desc" style="display: none;">Our Portfolio</div>
<div class="desc" style="display: none;">Creation of Beaches</div>
<div class="desc" style="display: none;">About iPadMasters</div>
</div>
</div>
<div class="paging">
<a rel="1" href="#">1</a>
<a rel="2" href="#">2</a>
<a rel="3" href="#">3</a>
</div>
</div>
Assign the block to the "banner" region.
#2
Changing status(es)