Garry
|
Did you try 4.0 RC
|
|
BK
|
I've installed the new version, but I cannot see how to have different Headers. Can you explain, please?
If I change the Header on another Page, it changes for the whole project. What am I missing?
Thanks
|
|
BK
|
OK - in case anyone else reads this thread - the answer from Support is "no".
Only one Header.
|
|
Mark C
|
You could create a number of themes - each identical but with different header images (shouldn't take much more than 5 minutes to create each extra one).
Then use the ThemeKey module (it's simple to use) to tell your site to use theme1 on the page/content type/taxonomy term and theme2 on that one and theme3 on the next one.
http://drupal.org/project/themekey
OR, you could create a theme with NO header, then create a number of different blocks with just the header image and have each block in Banner 1 (for example), and set to only show on the pages you want them to show on. I did that here:
http://d21177.web255.webcore.ie/ (can't give the "live" link as the website isn't "live" yet).
|
|
Karl
|
@Mark C
I tried your last solution but if i create a theme without header the menu block is in the upper side and banner1 region is under menu region, i tried to move main menu to other regions and use the menu region for banners but the menu buttons disappears.
How to create a block or region over the mainmenu zone?
thanks for your help
|
|
Mark C
|
You have to find the area in page.tpl.php that has the "banner1" code, move that from there to the area just above the menu/navigation.
So, move this line:
<?php if (!empty($banner1)) { echo '<div id="banner1">'.render($banner1).'</div>'; } ?>
to just before this line:
<?php if (!empty($navigation) || !empty($extra1) || !empty($extra2)): ?>
so it looks like this:
<div id="art-main">
<div class="cleared reset-box"></div>
<div class="art-box art-sheet">
<div class="art-box-body art-sheet-body">
<?php if (!empty($banner1)) { echo '<div id="banner1">'.render($banner1).'</div>'; } ?>
<?php if (!empty($navigation) || !empty($extra1) || !empty($extra2)): ?>
<div class="art-bar art-nav">
<div class="art-nav-outer">
<?php if (!empty($extra1)) : ?>
<div class="art-hmenu-extra1"><?php echo render($extra1); ?></div>
<?php endif; ?>
<?php if (!empty($extra2)) : ?>
<div class="art-hmenu-extra2"><?php echo render($extra2); ?></div>
<?php endif; ?>
<?php if (!empty($navigation)) : ?>
<?php echo render($navigation); ?>
<?php endif; ?>
</div>
|
|
Mark C
|
I wouldn't like to have to create lots of different themes, especially because to update one, you'll probably have to update them all.
But it's great if you want to have a very different frontpage to the rest of the site, for example.
|
|
Nicky
|
Try this :http://drupal.org/project/dynamic_background
It works fine!
|
|