SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
-
Feb 12, 2009, 14:53 #1
- Join Date
- Jun 2008
- Location
- Andy lives in London, UK
- Posts
- 393
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Anybody here familar with drupal and phptemplate
I'm having problems understanding how to override the theme functions.
I want the $mission statement on every page.
At the moment it only shows on the frontpage.
The code for this starts on line 1781 of includes/theme.inc
Code:// Set mission when viewing the frontpage. if (drupal_is_front_page()) { $mission = filter_xss_admin(theme_get_setting('mission')); }
Code:function template_preprocess_page(&$variables) { }
Code:// Set mission when viewing the frontpage. // if (drupal_is_front_page()) { $mission = filter_xss_admin(theme_get_setting('mission')); // }
Let everyday be Christmas
Bookmarks