Hi.

I'm using a World of Warcraft theme I picked up from http://grafix-community.com/ . I made some small changes like removed the ad linking, and whatnot.

Now the only thing that bugs me is this theme does not use / display the mission statement on the page despite the settings in site administration.

So, my mission statement is filled in and I want it to display nicely on the page to anon, and logged in users. How do I go about doing that?

The exact link to the theme is here: http://grafix-community.com/de/drupal_world_of_warcraft_horde_theme

Thanks!

Comments

nevets’s picture

The mission statement is in $mission so this will work

<?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
mdixoncm’s picture

  <?php if ($mission && drupal_is_front_page()): print '<div id="mission">'. $mission .'</div>'; endif; ?>

Mike,
Computerminds offer Drupal development, consulting and training

gpk’s picture

By default, $mission is actually only populated on the front page (if using phptemplate theme engine) hence the additional "if" test is unnecessary. :-)

See the beginning of http://api.drupal.org/api/function/phptemplate_page/5.

gpk
----
www.alexoria.co.uk