AW: Format Textabschnitt inside Abbildungsobjekt

"Dr. Frank Hoffmann" <[email protected]>
Newsgroups gmane.comp.cms.zms.devel
Message-ID <441D984F4C67486DA5BD49D1C277A997@hal1>
Hello,
to render the (rich) text element with the selected format the default DTML
code of ZMSGraphic gives some inspiration. You need a "nesting" function
which interpretes the text format:
...
<dtml-let
  text="getText(REQUEST)"
  format="getObjProperty('format',REQUEST)"
  renderedtext="renderText(format,'text',text,REQUEST)"
...
Maybe you try the API function rendertext().

Good Luck
fh, moderator


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]
Im Auftrag von poschiman
Gesendet: Montag, 4. Januar 2010 12:39
An: [email protected]
Betreff: [zms-developers] Format Textabschnitt inside Abbildungsobjekt

I want to render the elements img and text of the Abbildungsobjekt
individually (no usage of getBodyContent...). The text-area should be
displayed in the format the author choses. How do I use the format-attribute
to format the text-area? With "getObjProperty('text',REQUEST)" it is only
displayed as plain text, even though it might be formated as a list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.