Closed (fixed)
Project:
Omega
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Oct 2009 at 17:32 UTC
Updated:
7 Nov 2009 at 17:00 UTC
Even if there is no mission statement for the site, the wrapper div still appears. This is due to preprocess-page.inc not checking to see if the mission variable actually contains anything. So, replace this:
if ($settings['mission_statement_pages'] == 'all' || $vars['is_front'] && $settings['mission_statement_pages'] == 'home') {
with this:
if ($vars['mission'] && ($settings['mission_statement_pages'] == 'all' || $vars['is_front'] && $settings['mission_statement_pages'] == 'home')) {
That's it.
Comments
Comment #1
himerus commentedYou are making all sorts of work for me this weekend!!! :)
Thanks though for taking a serious look @ the theme, and helping out! It's greatly appreciated, and I will be sitting down coding like crazy with it all Saturday, and probably most of Sunday as well.
It's nice even for just those types of simple things to get another pair of eyes to catch the stuff that would normally be considered silly!
Comment #2
himerus commentedFixed in 6.x-1.0-alpha4 release.
Comment #3
himerus commented