Personal tools
You are here: Home Documentation FAQs How do I use dynamic content inside my content objects?
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

How do I use dynamic content inside my content objects?

Up to Table of Contents

This FAQ applies to: Any version.

How do I use dynamic content (TAL, DTML, Python etc.) inside my content objects?

You shouldn't. It's that simple. Really. :)

If you need a special view that pulls data from other locations into the content area, you should put that logic in a template, and not in the content objects.

There are a lot of good reasons to not mix content and logic, and Plone enforces this. If what you are looking for is to combine elements of different content (say, a document with a content listing), there are products that let you do this without necessarily creating your own templates. mxmDynamicPage, CMFCollection and CMFContentPanels are some examples - but shop around, there is a lot of development in this area, and this FAQ entry might be slightly outdated.

Do not use CMFDynamicDocument or AtDynDocument or any kind of tool that lets you put logic inside content. It is bad practice, destroys maintainability - and works directly in opposition to what content management is about.

by Jean-Paul Ladage last modified May 19, 2006 - 19:33 All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by