Hi Florian. I do it this way :
The template : <div metal:use-macro="view/base_template/macros/main" > <div metal:fill-slot="extra_info"> <input type="hidden" name="referer" value="" tal:attributes="value view/referer" /> </div> </div> The class : class ViewIt(form.DisplayForm): base_template =zope.formlib.form.DisplayForm.template template = ViewPageTemplateFile('newTemplate.pt') Jürgen Florian Lindner wrote: > Am Freitag, 5. Mai 2006 17:10 schrieb Fred Drake: >> On 5/5/06, Florian Lindner <[EMAIL PROTECTED]> 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 -- --------------------------------------------------- Jürgen Kartnaller mailto:juergen_at_kartnaller.at http://www.kartnaller.at http://www.mcb-bregenz.at --------------------------------------------------- _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users