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="WAeUP NgREN Bootstrap 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="plonetheme_bootstrap_custom" |
---|
20 | meta_type="Filesystem Directory View" |
---|
21 | directory="waeup.plonetheme.ngren3:skins/plonetheme_bootstrap_custom"/> |
---|
22 | |
---|
23 | <object remove="True" name="plonetheme_bootstrap_custom_images" /> |
---|
24 | <object remove="True" name="plonetheme_bootstrap_custom_templates" /> |
---|
25 | <object remove="True" name="plonetheme_bootstrap_images" /> |
---|
26 | <object remove="True" name="plonetheme_bootstrap_templates" /> |
---|
27 | <object remove="True" name="plonetheme_bootstrap_styles" /> |
---|
28 | <object remove="True" name="plonetheme_bootstrap_javascript" /> |
---|
29 | |
---|
30 | <!-- A skin-path in this file corresponds to a Skin Selection in the |
---|
31 | 'Properties' tab of the portal_skins tool, in the ZMI. |
---|
32 | You can define for each new skin path the layers that it holds. A new |
---|
33 | skin can be based on another existing one by using the 'based-on' |
---|
34 | attribute. |
---|
35 | The definition of a layer accepts these parameters: |
---|
36 | - name: quite self explanatory, the name of the layer. |
---|
37 | - insert-before: name of the layer before which it must be added. |
---|
38 | - insert-after: name of the layer after which it must be added. |
---|
39 | Note: insert-before (and -after) accepts the value "*" which means |
---|
40 | "all". |
---|
41 | --> |
---|
42 | <skin-path name="WAeUP NgREN Bootstrap Theme" based-on="Plone Default"> |
---|
43 | <layer name="plonetheme_bootstrap_custom" |
---|
44 | insert-after="custom"/> |
---|
45 | </skin-path> |
---|
46 | <skin-path name="*"> |
---|
47 | <layer remove="True" name="plonetheme_bootstrap_custom_images"/> |
---|
48 | <layer remove="True" name="plonetheme_bootstrap_custom_templates"/> |
---|
49 | <layer remove="True" name="plonetheme_bootstrap_images"/> |
---|
50 | <layer remove="True" name="plonetheme_bootstrap_templates"/> |
---|
51 | <layer remove="True" name="plonetheme_bootstrap_styles"/> |
---|
52 | <layer remove="True" name="plonetheme_bootstrap_javascript"/> |
---|
53 | </skin-path> |
---|
54 | |
---|
55 | </object> |
---|