Difference between revisions of "Dataformfield entryauthor"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Dataformfield entryauthor.

Line 11: Line 11:
 
|other patterns =
 
|other patterns =
 
===Entry level patterns===
 
===Entry level patterns===
====##author:id##====
+
EAU is the default name of the this field and is defined as a language string. If the language string is modified after the field patterns have been added to a view template, the patterns need to adjusted in order to reflect the new name.
====##author:username##====
+
====<nowiki>[[EAU::id]]</nowiki>====
====##author:name##====
+
====<nowiki>[[EAU:username]]</nowiki>====
====##author:firstname##====
+
====<nowiki>[[EAU:name]]</nowiki>====
====##author:lastname##====
+
====<nowiki>[[EAU:firstname]]</nowiki>====
====##author:firstnamephonetic##====
+
====<nowiki>[[EAU:lastname]]</nowiki>====
====##author:lastnamephonetic##====
+
====<nowiki>[[EAU:firstnamephonetic]]</nowiki>====
====##author:middlename##====
+
====<nowiki>[[EAU:lastnamephonetic]]</nowiki>====
====##author:alternatename##====
+
====<nowiki>[[EAU:middlename]]</nowiki>====
====##author:email##====
+
====<nowiki>[[EAU:alternatename]]</nowiki>====
====##author:picture##====
+
====<nowiki>[[EAU:email]]</nowiki>====
====##author:picturelarge##====
+
====<nowiki>[[EAU:picture]]</nowiki>====
====##author:edit##====
+
====<nowiki>[[EAU:picturelarge]]</nowiki>====
 +
====<nowiki>[[EAU:edit]]</nowiki>====
  
 
|sort search =
 
|sort search =

Revision as of 19:53, 22 February 2014


Displays info about the entry author (e.g. first name, last name, user picture etc.).

Features

  • TBC

Settings

Not applicable.


Patterns

Entry level patterns

EAU is the default name of the this field and is defined as a language string. If the language string is modified after the field patterns have been added to a view template, the patterns need to adjusted in order to reflect the new name.

[[EAU::id]]

[[EAU:username]]

[[EAU:name]]

[[EAU:firstname]]

[[EAU:lastname]]

[[EAU:firstnamephonetic]]

[[EAU:lastnamephonetic]]

[[EAU:middlename]]

[[EAU:alternatename]]

[[EAU:email]]

[[EAU:picture]]

[[EAU:picturelarge]]

[[EAU:edit]]

Sort / Search

Sort

  • User first name
  • User last name
  • User username
  • User id number

Search

  • User first name
  • User last name
  • User username
  • User id number

Import / Export

TBC