Hi there,

There is an option on the theme setting page to put the mission on all pages, however it does not appear other than on the first page. There is no code in page.tpl.php to print the mission, which is why it happens. I'm not sure where you intended it to be placed (if at all), so no patch attached.

Comments

jwolf’s picture

Assigned: Unassigned » stephthegeek

I'm not sure where you intended it to be placed (if at all)..

Oops! That's actually a good point. Steph, where was mission on all pages supposed to go? I don't remember seeing this in the mockups.

manop’s picture

I believe that file page-front.tpl.php should be moved to page.tpl.php and then deleted; correct me if I'm wrong. So the mission-displaying option would work.

jwolf’s picture

Assigned: stephthegeek » jwolf
Status: Active » Needs work

Mission displays only on front page. There is not a location for mission on all pages. This functionality should have been removed.

- mission option on all pages will be removed w/in the next release.

Surf New Media’s picture

Actually it does work, and I must request that this option is not removed.

There are two files that need to be changed to get this to work.

On template.php, change the default value on line 31 to this: 'mission_statement_pages' => 1,

Do this exact same thing on line 47 of theme-settings.php

jwolf’s picture

Status: Needs work » Fixed

fix committed. available in latest dev snapshot and release 6.x-1.1

Status: Fixed » Closed (fixed)

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

marktheshark’s picture

Status: Closed (fixed) » Needs review

I'm trying 6.x-2.x-dev but the above fix does not seem to be committed.

Mission + background picture will not show on anything other than the front page, despite having "Display mission statement on all pages" selected.

Also some additional questions, sorry if they have already been asked:

  1. Is there a way for preventing the content from having the banner as background (especially since I specified no banner)
  2. How can the allotted width for main content be increased?

Thank you in advance

marktheshark’s picture

Sorry for the bump, but anyone have an answer to the above?

marktheshark’s picture

Performed the change of page.tpl.php to be identical to the front page, edited the mission_statement_pages in theme-settings.php (could not find this param in template.php in 6.x-2.x-dev), cleared Drupal cache, but Acquia Slate still refuses to show the mission and background picture on anything but the front page...

Any ideas?

marktheshark’s picture

For some reason the following (from page.tpl.php copied from page-front.tpl.php):

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

does not print the preface-wrapper with banner image and mission statement on non-front pages.

$preface_sidebar has a value if a block is placed inside it.
For some reason though $mission is only non-empty on the front page, despite the setting for all pages being on...

jeremycaldwell’s picture

Issue tags: +fixed in fusion

This will be fixed in the Fusion based version of the theme.

jeremycaldwell’s picture

Also in this version there is no $mission in the page.tpl.php as it just appears on the homepage. So it needs to be added to the page.tpl.php so it displays correctly under those circumstances.

jeremycaldwell’s picture

Status: Needs review » Postponed
jeremycaldwell’s picture

Status: Postponed » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -fixed in fusion

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