NAME
WE_Frontend::Plugin::Teaser - teaser support
SYNOPSIS
From Template-Toolkit templates:
[%- USE t = Teaser(objid=teaserpageid) -%]
[%- SET teasercontent = t.content(teaser=teasernumber) -%]
[%- FOREACH item = teasercontent.ct -%]
...
[%- END -%]
DESCRIPTION
-
Construct a teaser object with the specified object id.
-
Return the content of a requested teaser (by teaser number). Optionally use the specific language. If the
lang
variable is not given, then look for thelang
variable in the global Template stash, otherwise fallback tode
.