[10866] | 1 | <?xml version="1.0"?> |
---|
| 2 | <!-- This file holds the setup configuration for the portal_skins tool --> |
---|
| 3 | |
---|
| 4 | <!-- Change the value of these parameters to modify portal_skins behavior: |
---|
| 5 | - allow_any: change it to True if you want users to be able to select the |
---|
| 6 | skin to use from their personal preferences management page. In the |
---|
| 7 | ZMI, this value is known as 'Skin flexibility'. |
---|
| 8 | - cookie_persistence: change it to True if you want to make the skin cookie |
---|
| 9 | persist indefinitely. In the ZMI, this value is known as 'Skin Cookie |
---|
| 10 | persistence'. |
---|
| 11 | --> |
---|
| 12 | <object name="portal_skins" allow_any="False" cookie_persistence="False" |
---|
| 13 | default_skin="KwaraPoly Theme"> |
---|
| 14 | |
---|
| 15 | <!-- This list registers the folders that are stored in the skins directory |
---|
| 16 | of your product (on the filesystem) as Filesystem Directory Views within |
---|
| 17 | the portal_skins tool, so that they become usable as skin layers. |
---|
| 18 | --> |
---|
| 19 | <object name="kwarapoly_theme_custom_images" |
---|
| 20 | meta_type="Filesystem Directory View" |
---|
| 21 | directory="kwarapoly.theme:skins/kwarapoly_theme_custom_images"/> |
---|
| 22 | <object name="kwarapoly_theme_custom_templates" |
---|
| 23 | meta_type="Filesystem Directory View" |
---|
| 24 | directory="kwarapoly.theme:skins/kwarapoly_theme_custom_templates"/> |
---|
| 25 | <object name="kwarapoly_theme_styles" |
---|
| 26 | meta_type="Filesystem Directory View" |
---|
| 27 | directory="kwarapoly.theme:skins/kwarapoly_theme_styles"/> |
---|
| 28 | |
---|
| 29 | <!-- A skin-path in this file corresponds to a Skin Selection in the |
---|
| 30 | 'Properties' tab of the portal_skins tool, in the ZMI. |
---|
| 31 | You can define for each new skin path the layers that it holds. A new |
---|
| 32 | skin can be based on another existing one by using the 'based-on' |
---|
| 33 | attribute. |
---|
| 34 | The definition of a layer accepts these parameters: |
---|
| 35 | - name: quite self explanatory, the name of the layer. |
---|
| 36 | - insert-before: name of the layer before which it must be added. |
---|
| 37 | - insert-after: name of the layer after which it must be added. |
---|
| 38 | Note: insert-before (and -after) accepts the value "*" which means |
---|
| 39 | "all". |
---|
| 40 | --> |
---|
| 41 | <skin-path name="KwaraPoly Theme" based-on="Sunburst Theme"> |
---|
| 42 | <layer name="kwarapoly_theme_custom_images" |
---|
| 43 | insert-after="custom"/> |
---|
| 44 | <layer name="kwarapoly_theme_custom_templates" |
---|
| 45 | insert-after="kwarapoly_theme_custom_images"/> |
---|
| 46 | <layer name="kwarapoly_theme_styles" |
---|
| 47 | insert-after="kwarapoly_theme_custom_templates"/> |
---|
| 48 | </skin-path> |
---|
| 49 | |
---|
| 50 | </object> |
---|