Download
Last stable v 5.2 2024-11-01
{ds}
Smarty digital object datastream plugin. Plugin outputs datastream content / URL.
Attributes:
Attribute Name | Type | Required | Default | Description |
---|---|---|---|---|
var | string | No | n/a | Template variable to hold content instead of display |
id | string | Yes | n/a | Digital object datastream ID |
tpl | integer | No | 0 | 1 - execute digital object datastream content as smarty template |
url | integer | No | 0 | 1 - return URL to digital object datastream instead of content |
silent | integer | No | 1 | 1 - return response status "200" even error or authorization denied |
basic | integer | No | 0 | 1 - request HTTP basic authorization form if required and not logged |
Sample:
{ds id="license" url="1"}
Above will output:
http://www.kusoftas.com/docs/license