Re: TAL expression to get body of Dexterity document
Espen Moe-Nilssen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
thy:
<div tal:content="structure context/body/output"
tal:condition="context/body" />
(where body is the name of your rich text field
if you show it from a template, you probably have to use «item» instead of contenxt (or whatever you call your items
mvh
Espen Moe-Nilssen
28. aug. 2014 kl. 09:53 skrev David Siedband <[email protected]>:
> I have a dexterity document whose content I want to reference from a template.
>
> With Archetypes CT’s I can do something like
>
> tal;content=“structure /path/to/item/getText"
>
> What’s the equivalent for a dexterity Page content-type?
>
> --
> David Siedband
> http://zentraal.com
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Plone-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users