Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
EPScript/Functions
(section)
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Render Functions == === action_button === Returns an XHTML object for the button of a particular action on a data object. {{codesample|<pre> <print expr="$action.action_button()" /> </pre>}} === action_icon === Returns an XHTML object for the icon of a particular action on a data object. {{codesample|<pre> <print expr="$action.action_icon()" /> </pre>}} === action_title === Returns an XHTML object for the title of a particular action on a data object. {{codesample|<pre> <print expr="$action.action_title()" /> </pre>}} === citation === Renders the XHTML citation for a data object with a specified style. Encapsulated within a link to {{codesample|<pre> <print expr="$item.citation('default')" /> </pre>}} === citation_link === Renders the XHTML citation for a data object with a specified style, where the title is encompassed by a link to the data object. {{codesample|<pre> <print expr="$item.citation_link('default')" /> </pre>}} === dumper (3.4.4+) === Renders an XHTML pre element containing the type and serialization of a variable/metafield. Useful for debugging workflow/citation issues. Not particularly useful for data objects as dump will be too big to be rendered. {{codesample|<pre> <print expr="creators.dumper" /> </pre>}} === embed_video === Renders an XHTML object to render an HTML5 video preview for a document that is a video or audio file. {{codesample|<pre> <print expr="$doc.embed_video" /> </pre>}} === icon === Returns an XHTML object with thumbnail size icon preview of the document. It can be called with various options to determine what to do when you hover over or click on the icon. {{codesample|<pre> <epc:print expr="$doc.icon('HoverPreview','noNewWindow','previewLeft')}" /> </pre>}} === phrase === Returns an XHTML object for a phrase. {{codesample|<pre> <print expr="phrase('lib/document:preview')" /> </pre>}} === preview_link === Returns an XHTML object containing an anchor (i.e. <tt><a href="..."></a></tt> linking to a particular type of preview image for a document. This requires the citation link, the name of the set to preview and the type of preview image. {{codesample|<pre> <print expr="$doc.preview_link($doc.citation_link('default'),'docs','lightbox')" /> </pre>}} === render_value_function === Renders an XHTML object of the value of a field using a bespoke rendering functions {{codesample|<pre> <print expr="$item.render_value_function('highlight_internal_authors', 'creators')" /> </pre>}}
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)