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