<<

NAME

Koha::Template::Plugin::AdditionalContents - TT Plugin for displaying additional contents

SYNOPSIS

[% USE AdditionalContents %]

[% AdditionalContents.get() %]

ROUTINES

get

In a template, you can get the news categories with the following TT code: [% AdditionalContents.get( category => 'news', location => ['opac_only', 'staff_and_opac'], lang => lang, library => branchcode ) %]

The function returns a hashref with keys: contents: a Koha::AdditionalContents object location: the passed in location param returned blocktitle: the passed in blocktitle param returned

AUTHOR

Owen Leonard <oleonard@myacpl.org>

<<