Closed (fixed)
Project:
Tapestry
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2008 at 01:08 UTC
Updated:
24 Jun 2008 at 06:54 UTC
The default Tapestry style seems to be Gerber Daisey. We change it to be Modern Office, for some reason something happens and it changes back to Gerber Daisey (without us explicitly changing the style in the theme).
My question is: Is there a file somewhere where we can make the default Modern Office as opposed to Gerber Daisey, so when it flips back, it at least flips to the style we want?
Comments
Comment #1
roopletheme commentedNot sure why the style would arbitrarily change, but that's not a good sign... :)
To change the default style, you'll need to change a few things in the theme. In each instance, you'll want to replace the string "gerberdaisy" with the string "modoffice":
In settings.php, you'll want to change line 10, which defines the default style for the ThemeSettingsAPI:
and you'll want to change the analogous code on line 10 of template.php:
There's a routine on line 76 of template.php that defines the style if the ThemeSettingsAPI call fails:
And there's a similar routine on line 535 of page.tpl.php that ensures the right footer image is used:
Comment #2
somebodysysop commentedThat should do it. Thanks!
Comment #3
roopletheme commented