In the original design, if a user wanted to change the default theme,
they would do so in the database - not in a properties file. The goal
was to have a visual theme setup UI - where things like this can be
configured, but that was never completed.
-Adrian
Hans Bakker wrote:
Ok Adrian your record is back, however can now be overridden by values
in general properties: committed in R820178
On Tue, 2009-09-29 at 07:46 -0700, Adrian Crum wrote:
Hans,
The default theme is supposed to be defined in the database - that is
part of the visual theme design. Please revert this commit.
-Adrian
[email protected] wrote:
Author: hansbak
Date: Tue Sep 29 07:07:51 2009
New Revision: 819845
URL: http://svn.apache.org/viewvc?rev=819845&view=rev
Log:
default visualthemeId already defined in general properties
Modified:
ofbiz/trunk/framework/common/data/CommonTypeData.xml
Modified: ofbiz/trunk/framework/common/data/CommonTypeData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/data/CommonTypeData.xml?rev=819845&r1=819844&r2=819845&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/data/CommonTypeData.xml (original)
+++ ofbiz/trunk/framework/common/data/CommonTypeData.xml Tue Sep 29 07:07:51
2009
@@ -102,7 +102,7 @@
<!-- User preferences seed data -->
<UserPrefGroupType userPrefGroupTypeId="GLOBAL_PREFERENCES" description="Global
preferences"/>
- <UserPreference userLoginId="_NA_" userPrefTypeId="VISUAL_THEME"
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefValue="BIZZNESS_TIME"/>
+ <!-- UserPreference userLoginId="_NA_" userPrefTypeId="VISUAL_THEME"
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefValue="BIZZNESS_TIME" specified in general properties!
-->
<!-- Visual Themes seed data -->
<EnumerationType description="Visual Theme Resource Type (stylesheet, javascript file, etc)"
enumTypeId="VT_RES_TYPE" hasTable="N"/>