Re: fill-slots problem

"Martin Aspeli" <[email protected]> Thu, 27 Jan 2005 00:06:23 -0000
Newsgroups gmane.comp.web.zope.plone.design
Message-ID <opsk8ikx0hfyd109@carolina>
> if possible how can i fill slots in main_template throw
> a document created in the content edit.
>
> i try to do this, like i do in the ordinary templates, but don't
> work, instead of fill de define-slot in the main template,
> the result appear in the main content.

You can't, and you shouldn't be able to. Templates and slots are a design  
concept used to ensure the proper presentation of a content object. When  
you create a content object, it should contain content, and content only,  
not directives for how to present that content. There is no mechanism for  
using Page Template constructs in document objects, and that's the way it  
should be.

Why do you want to do this?

Martin



-- 
"Life is both a major and a minor key" -- Travis, Side



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl