[opencms] [opencms-dev] (6b3) Multilanguage and new template problem --> SOLUTION

Jorge Gonzalez informatico at hotelparadisepark.com
Fri May 13 14:41:49 CEST 2005


After editing the controlcode of the new page....

And this one works ok.

Please check the "new page" feature to create a   <page language="es"> tag
for every language defined, it could be a bug...

------
<?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="es">
    <element name="body">
      <links/>
      <content><![CDATA[bueno]]></content>
    </element>
  </page>
  <page language="de">
    <element name="body">
      <links/>
      <content><![CDATA[gut]]></content>
    </element>
  </page>
  <page language="en">
    <element name="bodu">
      <links/>
      <content><![CDATA[good]]></content>
    </element>
  </page>
</pages>

-------




More information about the opencms-dev mailing list