julien.63 wrote:
>
> Hi,
> I'm trying to overide a portlet.
> I followed this tutorial
> http://plone.org/documentation/how-to/override-the-portlets-in-plone-3.0
> But I'm stuck with a wired problem.
> When restarting zope server, I've got this message in the event.log
>
> ZopeSAXParseException: File
> "/Applications/Plone-3.0/Instance/Products/LECAStyle/browser/configure.zcml",
> line 20.1, unbound prefix
>
> It sounds like plone:portelRenderer is not in the name space. I've
> imported the plone.app.portlets package though.
>
> browser/configure.zcml:
>
> <configure
> xmlns="http://namespaces.zope.org/zope"
> xmlns:browser="http://namespaces.zope.org/browser"
>
Here, add this:
xmlns:plone="http://namespaces.plone.org/plone"
> i18n_domain="lecastyle">
>
> <include package="plone.app.portlets" />
>
> <interface
> interface=".interfaces.ILecaThemeSpecific"
> type="zope.publisher.interfaces.browser.IBrowserSkinType"
> name="LECA Style Base"
> />
>
> <plone:portletRenderer
> porlet="plone.app.portlets.portlets.news.INewsPorlet"
> template="templates/custom_news.pt"
> layer=".interfaces.ILecaThemeSpecific"
> />
> </configure>
>
Martin
--
View this message in context:
http://www.nabble.com/customize-portlet-plone-3-tf4487626s20094.html#a12797730
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers