Dataformfield entryauthor
From MoodleDocs
Module administration
Creating an activity
- Overview
- Activity administration
- Building an activity
- CSS tips and tricks
- JS tips and tricks
- Activating RSS
- Activity workflow
- Grading
Working with the activity
See also
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]]