[opencms-dev] Wasteful saving in /system/bodies

Thomas Gick thomasgick at web.de
Mon Dec 16 17:05:29 CET 2002


Hi Michael,

thank you very much for the detailed explanation.

regards,
Thomas


opencms-dev at www.opencms.org schrieb am 16.12.02 16:28:58:
> Hello Thomas,
> 
> no, this is not an error, this is a feature of OpenCms.
> 
> The content in the <TEMPLATE> tag is used to generate the output of the page
> while the content in the <edittemplate> tag is the one you will edit with
> the editor.
> Why the two templates? To use the link managment, the system must mark all
> links and images with the <link> tag - but you do not want to see those when
> you edit the content. Therefore the content of the <TEMPLATE> tag is
> automatically generated while saving the page where all links are modified
> with link tags.
> 
> Add an internal link to a page and then take a look at the content of the
> template tag.
> 
> Regards,
> Michael Emmerich
> 
> OpenCms Professional Services
> Framfab Deutschland AG
> http://www.framfab.de
> http://opencms.framfab.de
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Thomas Gick [mailto:thomasgick at web.de]
> Gesendet: Montag, 16. Dezember 2002 16:01
> An: opencms-dev at opencms.com
> Betreff: [opencms-dev] Wasteful saving in /system/bodies
> 
> 
> Hi list,
> 
> if i create a page and look into the corresponding /system/bodies file, 
> i see 2 CDATA sections with the exact same content of my body.
> Look here:
> 
> <?xml version="1.0" encoding="utf-8"?>
> <XMLTEMPLATE>
>     <TEMPLATE><![CDATA[sampletext]]></TEMPLATE>
>     <edittemplate><![CDATA[sampletext]]></edittemplate>
> </XMLTEMPLATE>
> 
> -----
> 
> In bigger sites this seems to be wasteful.
> Is this an error?
> 
> Thomas
> 
> I use openCMS 5.0beta2
> ____________________________________________________________________________
> __
> Keine Lust, immer Ihre Adressdaten in eine E-Mail zu schreiben? Mit der
> vCard ist Schluss damit! Infos - http://freemail.web.de/features/?mc=021153

-- 
Hinweis: Diese Mail wurde aufgrund technischer Problem weitergeleitet. Falls Sie auf 
diese Mail direkt antworten, so tun Sie das bitte nur heute am 02. Oktober 2002.
Danach können Sie selbstverständlich wieder die Mailadresse unseres Mitarbeiters nutzen.

Wir bitten um Ihr Verständnis.

Wieland Electric GmbH
______________________________________________________________________________
Bei einem fehlt die Telefonnummer, beim anderen die Adresse. Damit ist jetzt
Schluss, dank WEB.DE FreeMail. http://freemail.web.de/features/?mc=021132




More information about the opencms-dev mailing list