-

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

Dataformfield entryauthor: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
Line 26: Line 26:
====<nowiki>[[EAU:edit]]</nowiki>====
====<nowiki>[[EAU:edit]]</nowiki>====


|sort search =
|sort search =  
'''Sort'''
{{Dataformfield entryauthor search sort}}
*'''User first name'''
|import export =  
*'''User last name'''
{{Dataformfield entryauthor import csv}}
*'''User username'''
*'''User id number'''
'''Search'''
*'''User first name'''
*'''User last name'''
*'''User username'''
*'''User id number'''
|import export =
TBC
}}
}}

Latest revision as of 00:23, 17 March 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

  • 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]]