Also notice the lines that remove the login portlet and the calendar
portlet. I didn't want or need them for this theme.
On Thu, Sep 11, 2008 at 8:54 AM, David Bain <[EMAIL PROTECTED]> wrote:
> Specifically I wanted to set the start level to 0. This is how I solved the
> problem:
>
> Under {MyProduct}/profiles/default/ I added a portlets.xml file which
> looked like this::
>
> <?xml version="1.0"?>
> <portlets
> xmlns:i18n="http://xml.zope.org/namespaces/i18n"
> i18n:domain="plone">
> <portlet title="Navigation" addview="portlets.Navigation"
> description="A portlet which can render a navigation tree">
> <for interface="plone.app.portlets.interfaces.IColumn"/>
> </portlet>
>
> <!-- remove the login portlet -->
> <assignment remove="true" name="login" category="context" key="/"
> manager="plone.leftcolumn" type="portlets.Login" />
>
> <!-- remove the calendar portlet -->
> <assignment remove="true" name="calendar" category="context" key="/"
> manager="plone.rightcolumn" type="portlets.Calendar" />
> <!-- navigation portlet now customized -->
> <assignment name="navigation" category="context" key="/"
> manager="plone.leftcolumn" type="portlets.Navigation">
> <property name="topLevel">0</property>
> </assignment>
> </portlets>
>
>
>
>
> On Thu, Sep 11, 2008 at 7:06 AM, David Bain <[EMAIL PROTECTED]>wrote:
>
>> This tutorial looks like a good start.
>>
>>
>> On Thu, Sep 11, 2008 at 6:32 AM, David Bain <[EMAIL PROTECTED]>wrote:
>>
>>> The default setting of the navigation portlet seems to cause it hide
>>> itself by default on the front page.
>>>
>>> Going to 'manage portlets' > 'navigation' and setting "start level" to
>>> '0' fixes this.
>>>
>>> Is there a way to make the navigation start level default to 1 at install
>>> time preferably with ZCML? Apologies for asking before trying, so I'm off to
>>> try it out now.
>>>
>>
>>
>
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers