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.
imagex-1's picture

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

tommyent's picture

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; ?>

.

michelle's picture

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

Michelle

Brilliant!

imagex-1's picture

Brilliant!

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

Hey Guy, I'm having the same

tatsya's picture

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

tommyent's picture

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

jessmagz's picture

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

tatsya's picture

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: