[Zope3-Users] formlib: Some additional text

Florian Lindner mailinglists at xgm.de
Fri May 5 11:39:47 EDT 2006


Am Freitag, 5. Mai 2006 17:10 schrieb Fred Drake:
> On 5/5/06, Florian Lindner <mailinglists at xgm.de> wrote:
> > Now I want to place some additional text above the <form> stuff. But I
> > want to keep all this usefull JavaScript stuff that form lib inserts.
>
> Can you use the extra_info slot?

I think that would work. (I've looked at its position in 
zope/formlib/pageform.pt).

But how can I fill that slot?

I've tried by adding a template to the configure.zcml:


<html metal:use-macro="context/@@standard_macros/page">
    <body>
        <metal:block fill-slot="body">
        
        </metal:block>

    </body>
</html>

@@standard_macros/page is my template in my skin. The skin is derived from the 
rotterdam skin.

Where do I add the fill-slot? I've tried a various locations in the template 
above but nothing has a real effect.

Thanks,

Florian


More information about the Zope3-users mailing list