[Zope] Re: metal: how to get a portlet to render in a plone page template

Tonico Strasser contact_tonico at yahoo.de
Tue Apr 6 20:01:18 EDT 2004


hpinson at indepthl.com wrote:

> Hi.  This is a plone question, but i've not been able to find an 
> answer on the Plone list so far:

Have you tried the plone-design list?

> I am trying to embed the  portlet news macro on Plones index_html top 
> level page template.  This should render the news within the 
> template, but does not:     
> 
> <h2>News Summary</h2>
> <div metal:block metal:use-
> macro="python:path('here/portlet_news/macros/portlet')" />
> Summary of news items goes here.
> </div>
> 
> Does anyone have a suggestion as to how to get this portlet to render 
> in the page template?

Do you get any errors? What's the name of the parent macro and which 
slot are you trying to fill?

Tonico




More information about the Zope mailing list