[opencms-dev] Body Element in Version 6 Alpha

Alexander Kandzior alex at opencms.org
Thu Sep 30 18:10:07 CEST 2004


Hi,
 
i'm not quite sure what you mean with "new body". You should take a look at
the default pages XML (release notes etc) using the "edit controlcode"
option.
 
In case you want to have additional page elements (bodies), here's some
example XML for that:
 
<?xml version="1.0" encoding="UTF-8"?>
 
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.opencms.org/dtd/6.0/xmlpage.xsd">
  <page language="en">
    <element name="text1">
      <links/>
      <content><![CDATA[<H1>Element 1</H1>]]></content>
    </element>
    <element name="text2">
      <links/>
      <content><![CDATA[<h1>Element 2</h1>]]></content>
    </element>
    <element name="text3">
      <links/>
      <content><![CDATA[<H1>Element 3</H1>]]></content>
    </element>
  </page>
</pages>

You must can configure the elements shown in the WYSIWYG Editor element
selection (the button with the 4 black & blue squares) using the property
"template-elements" on the template (NOT the page). Here's a sample format:
 
text1*|Texxt 1,text2|Text 2,text3|Text 3
 
The left is the name in the XML, the right is the name displayed in the
Editor element selection.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/> 



 


  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Fievet Marc
Sent: Thursday, September 30, 2004 3:07 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Body Element in Version 6 Alpha


Hello,
 
I have tested the new version I Try to create a new body  with no success...
IF someone have en example of  a structure of a body, please  send it.
 
 
Thanks
 
Regards,
 
MARC
 

____________________________________________________________________________
__
Disclaimer - Winterthur Europe Assurances - Avenue des Arts/Kunstlaan 56 -
1000 Brussels (BEL)
This message may contain confidential, proprietary or legally privileged
information and is intended only for the use of the addressee named above.
No confidentiality or privilege is waived or lost by any mistransmission. If
you are not the intended recipient of this message you are hereby notified
that you must not use, disseminate, copy it in any form or take any action
in reliance on it. If you have received this message in error please delete
it and any copies of it and notify Winterthur immediately. This e-mail
message and any attached files have been scanned for the presence of
computer viruses. However, you are advised that you open any attachments at
your own risk. The integrity and security of this message cannot be
guaranteed on the Internet.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040930/2bd5d46f/attachment.htm>


More information about the opencms-dev mailing list