Document fields list

basic functions and we:tags
Michael_S
Senior Member
Beiträge: 160
Registriert: Mi 4. Feb 2004, 02:39
Wohnort: London / UK
Kontaktdaten:

Document fields list

Beitragvon Michael_S » Di 11. Jun 2013, 18:07

Hi,

Where do we find a list of the documents fields (e.g. wedoc_ModDate), I would like to display the Created by and Changed by usernames.

Thanks,

Michael.
Production Area
London, UK
http://productionarea.com

mokraemer
Senior Member
Beiträge: 3619
Registriert: So 8. Aug 2010, 01:23
Wohnort: Mainz

Re: Document fields list

Beitragvon mokraemer » Di 11. Jun 2013, 23:17

I'm not sure if such a list exists. These special fields are retrieved directly from the file table of the database.
But to answer your question:
Currently olny the ID's of the users are available inside the listview, You can use wedoc_CreatorID for the creator of the document and wedoc_ModifierID for the user who last modified it.

In 6.3.7 there is an extension of the <we:author/> tag e.g.:

Code: Alles auswählen

<we:author doc="listview" creator="false" type="forename"/>
If you want to add this tag before release, you can just replace the file by
https://sourceforge.net/p/webedition/co ... or.inc.php
in the corresponding directory.
webEdition-Kern-Entwickler


Zurück zu „Creating templates“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste