Dataformfield entryactions: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 2: Line 2:
|description =  
|description =  
Displays the entry action links/icons (e.g. edit, delete, duplicate etc.).  
Displays the entry action links/icons (e.g. edit, delete, duplicate etc.).  
|sort =
 
''This field is not sortable.''
|general settings =
|search =
''Not applicable.''
''This field is unsearchable.''
 
|import =  
|common patterns =
''This field is not importable.''
 
|export =  
|other patterns =
''This field is not exportable.''
===Entry level patterns===
====##actionmenu##====
Displays the entry actions available for the user as dropdown menu.
====##edit##====
Displays the entry edit action link with default edit icon. Opens the edit form in the current view.
====##delete##====
Displays the entry delete action link with default delete icon.
====##select##====
Displays the entry select checkbox for bulk actions.
====##export##====
Displays the entry export action link with default export icon. Opens the portfolio exporter.
====##duplicate##====
Displays the entry duplicate action link with default duplicate icon.   
====##anchor##====
Adds to the page an entry anchor with the name “entry''id''” (''id'' is the entry id);
====##more##====
Displays the entry single view action link with the default more icon. Opens the current view with only this entry displayed.
====##moreurl##====
Displays the url of the single entry view action link.
====##more:''viewname''##====
Displays the entry single view (in the specified view) action link with the default more icon. Opens the specified view with only this entry displayed.
====##moreurl:''viewname''##====
Displays the entry single view (in the specified view) action link.
====##edit:''viewname''##====
Displays the entry edit (in the specified view) action link with default edit icon. Opens the edit form in the specified view.
 
 
|sort search =
''Not applicable.''
 
|import export =
''Not applicable.''
}}
}}

Revision as of 16:11, 19 February 2014


Displays the entry action links/icons (e.g. edit, delete, duplicate etc.).

Settings

Not applicable.


Patterns

Entry level patterns

##actionmenu##

Displays the entry actions available for the user as dropdown menu.

##edit##

Displays the entry edit action link with default edit icon. Opens the edit form in the current view.

##delete##

Displays the entry delete action link with default delete icon.

##select##

Displays the entry select checkbox for bulk actions.

##export##

Displays the entry export action link with default export icon. Opens the portfolio exporter.

##duplicate##

Displays the entry duplicate action link with default duplicate icon.

##anchor##

Adds to the page an entry anchor with the name “entryid” (id is the entry id);

##more##

Displays the entry single view action link with the default more icon. Opens the current view with only this entry displayed.

##moreurl##

Displays the url of the single entry view action link.

##more:viewname##

Displays the entry single view (in the specified view) action link with the default more icon. Opens the specified view with only this entry displayed.

##moreurl:viewname##

Displays the entry single view (in the specified view) action link.

##edit:viewname##

Displays the entry edit (in the specified view) action link with default edit icon. Opens the edit form in the specified view.

Sort / Search

Not applicable.

Import / Export

Not applicable.