The problem is that i cant put DTML code in a template page... I m really lost. Do i have to recode my DTML page in TAL language? On 5/3/06, Lennart Regebro <regebro at nuxeo.com> wrote: > > lopez adrian wrote: > > Hello, > > I succed to make my document works fine with only zope models. > > > > I use a DTML document (name list) that list other DTML documents with > > the fields i want (named ASO-1234-01 for example). I add a submit button > > that call a python script wich create others DTML Documents, and refresh > > the list document. > > > > Now i want to integrate that in CPS. I want this List to appear in the > > main content of a folder in CPS. > > > > For example if i go to cps/chronos i want to see the CPS decoration > > (navigation bar, header, breadcrumb, etc) and the list as main content > > of the folder. > > > > How can i do that? > > You use a macro. The main macro for CPS is called > main_template/macros/master. You put your content into a slot named > "main". > > So, a minimal page would be something like this: > > <html metal:use-macro="here/main_template/macros/master"> > <metal:main fill-slot="main"> > Hello world! <-- This will be the main content > </metal:main> > </html> > > -- > Lennart Regebro, Nuxeo http://www.nuxeo.com/ > CPS Content Management http://www.cps-project.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060504/93670f50/attachment.html
Hosting: Nuxeo: Zope service provider