Acquia Slate - Header Image Is Only Showing on Front Page ! ??

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by imagex-1 on March 26, 2010 at 11:25am

Im not sure why my header image and the 'front preface sidebar' are only showing on the front page on my site. I need them to show throughout the site

http://marcllayhotel.com/

Please help, thanks!

Comments

I believe the image only

Posted by tommyent on March 26, 2010 at 1:49pm

I believe the image only works when the preface sidebar or mission statement is on. I believe all you need to add is this below(from the page-front.tpl.php) to page.tpl.php

<?php if ($
_sidebar || $mission) : ?>

<div id="preface-wrapper" class="clearfix">
<?php if ($preface_sidebar): ?>
<div id="preface-sidebar">
<?php print $preface_sidebar; ?>
</div>
<?php endif; ?>
<?php if ($mission): ?>
<div id="mission">
<?php print $mission; ?>
</div>
<?php endif; ?>
</div><!-- /preface-wrapper -->
<?php endif; ?>

.

Posted by michelle on March 26, 2010 at 2:51pm

See this issue for ideas: http://drupal.org/node/406748

Michelle

Brilliant!

Posted by imagex-1 on March 26, 2010 at 3:07pm

Brilliant!

Thanks alot for the fast response guys, it seems to work now...

Hey Guy, I'm having the same

Posted by tatsya on April 25, 2010 at 2:27am

Hey Guy,

I'm having the same problem. Could you help to elaborate further how to make this work?

tommyent solution - where should i paste the code in page-front.tpl.php & page.tpl.php?

Michelle - I have tried to copy the code from page-front.tpl.php to page.tpl.php but it seem like didn't work on my webpage

Thanks in advance. Cheer!

In your page.tpl.php right

Posted by tommyent on April 26, 2010 at 1:29pm

In your page.tpl.php right below

</div><!-- /header-wrapper -->

add
<?php if ($preface_sidebar || $mission) : ?>
<div id="preface-wrapper" class="clearfix" <?php print $banner_image; ?>>
<?php if ($preface_sidebar): ?>
<div id="preface-sidebar">
<?php print $preface_sidebar; ?>
</div>
<?php endif; ?>
<?php if ($mission): ?>
<div id="mission">
<?php print $mission; ?>
</div>
<?php endif; ?>
</div><!-- /preface-wrapper -->
<?php endif; ?>

Seems that you need to clear

Posted by jessmagz on April 26, 2010 at 6:50am

Seems that you need to clear the cache so that your new code settings will take effect.
If you are using Admin Menu, go to Site Configuration => Performance and then at the bottom group "Clear Cache Data", click the button "CLEAR CACHED DATA".

If no Admin Menu module installed, you can access admin/settings/performance to go to this page.

Thx Guys

Posted by tatsya on April 27, 2010 at 4:34pm

Thx tommyent! It worked now :)

Thx jessmagz!

TNT Themes

Group organizers

Group categories

Type of post

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /