2011/2/28 Andreas Jung <[email protected]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> The Types Plone control panel allows to configure content-type specific
> portlets through-the-web. Is it possible to perform the same
> configuration through GenericSetup or is it necessary to implement
> this on the conten-type level using Python?
>
You can configure it using GS, you have to add an 'assignment' tag in
the portlets.xml file:
<portlet
addview="bilbaokirolak.theme.portlets.InstalacionesMenu"
title="Menu de instalaciones"
description=""
i18n:attributes="title; description"
/>
<assignment name="instalaciones-menu" category="content_type"
key="Polideportivo" manager="plone.leftcolumn"
type="bilbaokirolak.theme.portlets.InstalacionesMenu"/>
The key point here are the category="content_type",
key="Polideportivo" (the portal_type of the type you want to assign
the portlet) and type="bilbaokirolak.theme.portlets.InstalacionesMenu"
the name of the portlet.
Best,
Mikel
--
Mikel Larreategi
[email protected]
CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/product-developers