Came across a bug in Drupal HEAD where template_preprocess_page() sets $variables['mission'] then clears it again thanks to some faulty logic. Thus, mission statements cannot be displayed.
This one-liner solves the problem for me.
ttyl!
--Alex Markley
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | theme_mission-177421-2.patch | 1.08 KB | chx |
| #1 | theme-mission-01.patch | 1.98 KB | desbeers |
| theme_mission_statement.diff | 673 bytes | alexmarkley |
Comments
Comment #1
desbeers commentedConfirmed the problem and patch works well. Problem appeared in http://drupal.org/node/137236. I altered the patch a bit: changed the comment above the affected code, the previous one made no sense, and put the 'mission' code together in a more logical place.
Comment #2
chx commentedI shortened the patch.
Comment #3
desbeers commentedChx, yes, patch is shorter, but I liked to have all the 'mission' code grouped together. Just cosmetic; but easier to read.
Comment #4
dvessel commented#2 works for me. Lets move on.
Comment #5
gábor hojtsyIndeed, we try to keep variables together, so I committed #2. Thanks!
Comment #6
(not verified) commented