source: main/waeup.plonetheme/trunk/waeup/plonetheme/profiles/default/viewlets.xml @ 10222

Last change on this file since 10222 was 5704, checked in by Henrik Bettermann, 14 years ago

It seems that we have to define the whole order otherwise the viewlet order will be messed up after activating the WAeUP Plone Theme.

File size: 1.8 KB
Line 
1<?xml version="1.0"?>
2<!-- This file holds the setup configuration of the viewlet managers
3     for the "WAeUP Plone Theme" skin.
4     -->
5
6<object>
7
8  <!-- Viewlets keep the same ordering than the default skin ('Plone Default'
9       out of the box).
10       You can specify skinname="*" if you want changes apply for all skins.
11       Using "True"" for the 'make-default' parameter will make the 'skinname'
12       value set as default skinname. Means the name of the skin that would be
13       used in case the viewlets ordering was not specified for the currently
14       used skin.
15       The 'based-on' attribute lets you inherit the viewlets ordering from an
16       existing skin.
17       -->
18  <order manager="plone.portalfooter" skinname="WAeUP Plone Theme"
19         based-on="Plone Default">
20    <!-- The definition of a viewlet accepts these parameters:
21         - name: quite self explanatory, the name of the viewlet.
22         - insert-before: name of the viewlet before which it must be added or
23           moved.
24         - insert-after: name of the viewlet after which it must be added
25           or moved.
26         - remove: supported but rarely needed, removes the viewlet from the
27           ordering list (doesn't mean that it hides the viewlet).
28         Note: insert-before and -after accept the value "*" which means
29         "all".
30         -->
31<!-- EXAMPLE (UNCOMMENT TO MAKE AVAILABLE):
32    <viewlet name="waeup.someviewlet"
33             insert-before="*" />
34-->
35  </order>
36
37  <order manager="plone.portalheader" skinname="WAeUP Plone Theme">
38    <viewlet name="plone.skip_links" />
39    <viewlet name="plone.personal_bar" />
40    <viewlet name="plone.app.i18n.locales.languageselector" />
41    <viewlet name="plone.searchbox" />
42    <viewlet name="plone.logo" />
43    <viewlet name="waeup.fotobanner" />
44    <viewlet name="plone.global_sections" />
45  </order>
46
47</object>
Note: See TracBrowser for help on using the repository browser.