Assuming that your content type is called Foo create a file foo_edit.pt with the following content. I believe this is the simplest way to override the widget rendering.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" metal:use-macro="here/main_template/macros/master"> <body> <div metal:fill-slot="main"> <metal:body define-macro="body"> <metal:bodyuse use-macro="here/edit_macros/macros/body"> <metal:widgets fill-slot="widgets"> <metal:fieldMacro use-macro="python:here.widget('title', mode='edit')" /> </metal:widgets> </metal:bodyuse> </metal:body> </div> </body> </html> In fact the html, body and div boilerplate is not needed. HTH Hedley _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
