By sammy-node on
The following script was posted by someone else in the middle of 2006 and it displays the mission on every page. Other users replied that it worked well for them. I can't get it to work - maybe becasue my version is 5.1?
Any help would be greatly appreciated!
************ from old post **************************
----------------------------------------------------------------------------------------
$mission = theme_get_setting('mission', false);
if ($mission != ""): print $mission; endif;
-----------------------------------------------------------------------------------------
function theme_get_setting($setting_name, $refresh = FALSE) retrieves setting for actual theme :-)
Comments
You could use the
You could use the variable_get function:
Something like this:
This works great - Thanks a Lot :)
For PHP newbies - you only need to insert this little piece of code into the template;
- the bigger bit at the start of quickshare's post is already defined in Drupal.