Question about file template
"Alexandre Aubert" <[email protected]> Wed, 4 Mar 2009 18:43:04 +0100
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============0899336574==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C99CF0.AC722847"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C99CF0.AC722847
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
I am very new user of Jahia_6 and i was wondering how to modified the
file template ( filesBoxDisplay ) in order to show informations such as
< creator > and < creationdate >.=20
=20
I know that the following part should show the creationdate but it
doesn't work:=20
=20
<span class=3D"resume"><template:field name=3D"fileDesc"/></span>
<template:metadata contentBean=3D"${fileContainer}" =
metadataName=3D"created"
asDate=3D"true" valueID=3D"creationDate"/><fmt:formatDate
pattern=3D"dd/MM/yyyy" value=3D"${creationDate}"/>
=20
=20
Thanks
=20
____________________________________________________________
Alexandre AUBERT
Software Engineer
____________________________________________________________
Duke - A Razorfish Company
86-90, rue Notre Dame de Nazareth
75003 Paris - France
T : +33 (0)1 53 44 19 46
F : +33 (0)1 53 44 19 20
[email protected]
http://www.duke-interactive.com
____________________________________________________________
=20
=20
------_=_NextPart_001_01C99CF0.AC722847
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DFR link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>I am very new user of Jahia_6 and i was =
wondering how
to modified the file template ( filesBoxDisplay ) in order to show =
informations
such as « creator » and « =
creationdate ». <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>I know that the following part should show the
creationdate but it doesn’t work: <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><span
class=3D"resume"><template:field
name=3D"fileDesc"/></span><o:p></o:p></span></font></p=
>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><template:metadata
contentBean=3D"${fileContainer}" =
metadataName=3D"created"
asDate=3D"true" =
valueID=3D"creationDate"/><fmt:formatDate
pattern=3D"dd/MM/yyyy" =
value=3D"${creationDate}"/><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Thanks<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>______________________________________________________=
______</span></font><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-top:6.0pt'><b><font size=3D2
face=3D"Times New Roman"><span =
style=3D'font-size:10.0pt;font-weight:bold'>Alexandre
AUBERT</span></font></b><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-top:6.0pt'><font size=3D2 =
face=3D"Times New Roman"><span
style=3D'font-size:10.0pt'>Software Engineer<br>
____________________________________________________________<o:p></o:p></=
span></font></p>
<p class=3DMsoNormal style=3D'margin-top:6.0pt'><b><font size=3D2
face=3D"Times New Roman"><span =
style=3D'font-size:10.0pt;font-weight:bold'>Duke - A
Razorfish Company</span></font></b><font size=3D2><span =
style=3D'font-size:10.0pt'><br>
86-90, rue Notre Dame de Nazareth<br>
75003 Paris - France<br>
T : +33 (0)1 53 44 19 46<br>
F : +33 (0)1 53 44 19 20<br>
<a =
href=3D"mailto:[email protected]">alexandre@duke-interactive=
.com</a><br>
http://www.duke-interactive.com<br>
____________________________________________________________<o:p></o:p></=
span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span><o:p></o:p></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C99CF0.AC722847--
--===============0899336574==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
--===============0899336574==--