How to display mission on every page?
gabble - June 23, 2005 - 07:16
This seems an easy one, but I can't figure out how to display the site mission on every page, it only shows in the home page...
I am using a self-made php template, and I have the following line in page.tpl.php:
<?php if ($mission != ""): ?><div id="mission"><?php print $mission; ?></div><?php endif; ?>
Hope you can help me, TIA!

Hi,
Hi,
Please try:
<?php$mission = theme_get_setting('mission', false);
if ($mission != ""): ?>
<div id="mission"><?php print $mission; ?></div><?php endif; ?>
function theme_get_setting($setting_name, $refresh = FALSE)retrieves setting for actual theme :-)- I wonder how am I perceived when passion enters me :-) -
Thank you!!!!!!
Wonderful, it works!
Thank you thank you thank you!! :-)
:-)
I know it works :-) I've tested it :P
As the reward maybe you invite me to the Italy :P
- I wonder how am I perceived when passion enters me :-) -
Yes!
Come to Italy and be my guest, I'll show you around! ;-)
and I'll show you round New Zealand
This saved by bacon. Cheers :)
it works!
Thank you so much!
It works fine!
Make sure mission is checked off
This was giving me a headache for 2hr and couldn't figure out why my mission statemnet wasn't showing up. It's under the theme config page. as seen in the image:
http://skitch.com/erifneerg/hc1j/mission