Ok, te ne devo 2.
Funziona, grazie
*Diego Purpo*
cel. +39 393 9869631
[email protected] <mailto:[email protected]>
*INFOCUBE srl*
via gino doria, 84 | 80128 napoli
tel. +39 081 3412051 | fax. +39 081 19305669
www.infocube.it <http://www.infocube.it>
blog.infocube.it <http://blog.infocube.it>
Simone Orsi ha scritto:
Re-hola :)
On 02/09/2010 11:48 AM, Diego Purpo wrote:
Signori, buongiorno.
Sempre alle prime armi su Plone.
Immagino che sia un argomento già trattato e per questo me ne scuso,
ma vorrei sapere come creo una marker interface?
Ne posso creare una direttamente nel mio tema?
certo. Puoi creare tutte quelle che vuoi esattamente come dichiari
tutte le altre interfacce.
Quando crei un tema con /paster /viene creata proprio una marker
interface per il tuo tema in **MyTheme/browser/interfaces.py:
from plone.theme.interfaces import IDefaultPloneLayer
class IThemeSpecific(IDefaultPloneLayer):
"""Marker interface that defines a Zope 3 skin layer bound to a Skin
Selection in portal_skins.
"""
Dai un occhiata qui ad esempio:
http://maurits.vanrees.org/weblog/archive/2007/06/using-interfaces-in-a-plone-product/
anche questo ti può essere utile:
http://www.plone.it/scopri/documentazione/how-to/Sovrascrivere-i-portlet-in-Plone-3.0/?searchterm=marker%20interface
Spero ti sia d'aiuto.
Ciao,
Simo
_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html