Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Dataformfield entryauthor.

Dataformfield entryauthor

From MoodleDocs


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

  • Current user – (search only) matches entries authored by the current user.
  • User first name
  • User last name
  • User username
  • User id number

Import / Export

Importing entry author info allows for adding entries on behalf of users. You can use either one of the following patterns provided that the respective user attribute (id, idnumber, username) is unique in your Moodle site.

  • [[EAU:id]]
  • [[EAU:idnumber]]
  • [[EAU:username]]