Question about file template

View: New views
2 Messages — Rating Filter:   Alert me  

Question about file template

by Alexandre Aubert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

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 ».

 

I know that the following part should show the creationdate but it doesn’t work:

 

<span class="resume"><template:field name="fileDesc"/></span>

<template:metadata contentBean="${fileContainer}" metadataName="created" asDate="true" valueID="creationDate"/><fmt:formatDate pattern="dd/MM/yyyy" value="${creationDate}"/>

 

 

Thanks

 

____________________________________________________________

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
alexandre@...
http://www.duke-interactive.com
____________________________________________________________

 

 


_______________________________________________
template_list mailing list
template_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

Re: Question about file template

by Thomas Feldman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi !

The following problem has been solved. All metadata field definitions can be found, as explained in the jahiapedia, under the applicationcontext-metadata.xml file.

 

Everything is fine now…

 

 

Thomas

De : template_list-bounces@... [mailto:template_list-bounces@...] De la part de Alexandre Aubert
Envoyé : mercredi 4 mars 2009 18:43
À : template_list@...
Objet : [template_list] Question about file template

 

Hi,

 

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 ».

 

I know that the following part should show the creationdate but it doesn’t work:

 

<span class="resume"><template:field name="fileDesc"/></span>

<template:metadata contentBean="${fileContainer}" metadataName="created" asDate="true" valueID="creationDate"/><fmt:formatDate pattern="dd/MM/yyyy" value="${creationDate}"/>

 

 

Thanks

 

____________________________________________________________

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
alexandre@...
http://www.duke-interactive.com
____________________________________________________________

 

 


_______________________________________________
template_list mailing list
template_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list