[opencms-dev] Inclusion template problem

Territorio Jordan-V. jordan.territorio at gmail.com
Thu Apr 3 11:01:27 CEST 2008


Hi all,

I work with OpenCMS 7.0.4. I'm newbie and i try to create my own template
with some editable contents if you're logged as an Admin :

<cms:template element="header">
    ...
</cms:template>
<cms:template element="body">
    ...
</cms:template>
<cms:template element="informations" editable="true">  <!-- for the moment i
just want to make this appear on screen... -->
    <h4>Venenis Campensis vitamque et suspectati.</h4>
    <p>Iamque non umbratis fallaciis res agebatur, sed qua palatium est
extra muros, armatis omne circumdedit. ingressusque obscuro iam die, ablatis
regiis indumentis Caesarem tunica texit et paludamento communi, eum post
haec nihil passurum velut mandato principis iurandi crebritate confirmans et
statim inquit exsurge et inopinum carpento privato inpositum ad Histriam
duxit prope oppidum Polam, ubi quondam peremptum Constantini filium
accepimus Crispum.</p>
</cms:template>
<cms:template element="foot">
    ...
</cms:template>

So i have created a test file in my site which use the template. :
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms"%>
<cms:include property="template" element="head" />
<p>l'event du jour c'est ca du con....</p>
<cms:include property="template" element="informations" />
<cms:include property="template" element="foot" />

The fact is that footer body and header appears but not informations...
someone have an answer?
Maybe i'm in the wrong way, because when i remove the editable="true", the
template appears on screen

-- 
TERRITORIO Jordan-Victor
Ingénieur d'Intégration Java
TEAMLOG – Ingenieurs 2000

+33 6 30 66 54 69
jot at teamlog.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080403/e9f0809d/attachment.htm>


More information about the opencms-dev mailing list