Back to bug 23237

Who When What Removed Added
f.demians 2019-06-29 07:11:03 UTC Status NEW Needs Signoff
maryse.simard 2019-07-05 20:11:24 UTC Attachment #91128 Attachment is obsolete 0 1
maryse.simard 2019-07-05 20:11:35 UTC Status Needs Signoff Signed Off
CC maryse.simard
katrin.fischer 2019-07-06 06:32:46 UTC Assignee koha-bugs frederic
CC katrin.fischer
nick 2019-07-30 13:52:41 UTC Status Signed Off Passed QA
nick 2019-07-30 13:53:09 UTC QA Contact testopia nick
CC nick
martin.renvoize 2019-08-05 14:47:53 UTC Version(s) released in 19.11.00
Status Passed QA Pushed to master
martin.renvoize 2019-08-05 14:49:57 UTC Attachment #91374 Attachment is obsolete 0 1
CC martin.renvoize
fridolin.somers 2019-08-09 13:45:56 UTC CC fridolin.somers
Status Pushed to master Pushed to stable
Version(s) released in 19.11.00 19.11.00,19.05.03
lucas 2019-09-17 19:25:49 UTC CC lucas
Status Pushed to stable Pushed to oldstable
martin.renvoize 2019-11-14 11:41:52 UTC Component Architecture, internals, and plumbing Plugin architecture
martin.renvoize 2019-11-14 11:52:18 UTC Summary Plugin allow [% INCLUDE %] from template Add support for [% INCLUDE %] in plugin templates
Severity enhancement new feature
martin.renvoize 2019-11-14 11:52:56 UTC Text to go in the release notes From a plugin template it is useful to be able to include other templates with [% INCLUDE %] directives. But the TT module is used by Koha with absolute paths. Relative paths are forbidden for security reasons. A new param [% PLUGIN_DIR %] allow plugin templates to know where to find plugin home directory.
katrin.fischer 2019-11-26 14:30:42 UTC Text to go in the release notes From a plugin template it is useful to be able to include other templates with [% INCLUDE %] directives. But the TT module is used by Koha with absolute paths. Relative paths are forbidden for security reasons. A new param [% PLUGIN_DIR %] allow plugin templates to know where to find plugin home directory. From a plugin template it is useful to include other templates with [% INCLUDE %] directives. But the TT module is used by Koha with absolute paths. Relative paths are forbidden for security reasons. A new param [% PLUGIN_DIR %] allows plugin templates to know where to find plugin home directory.
katrin.fischer 2019-11-26 14:31:47 UTC Text to go in the release notes From a plugin template it is useful to include other templates with [% INCLUDE %] directives. But the TT module is used by Koha with absolute paths. Relative paths are forbidden for security reasons. A new param [% PLUGIN_DIR %] allows plugin templates to know where to find plugin home directory. From a plugin template it is useful to include other templates with [% INCLUDE %] directives. But the TT module is used by Koha with absolute paths. Relative paths are forbidden for security reasons. A new param [% PLUGIN_DIR %] allows plugin templates to know where to find the plugin home directory.
martin.renvoize 2019-11-26 16:39:33 UTC Text to go in the release notes From a plugin template it is useful to include other templates with [% INCLUDE %] directives. But the TT module is used by Koha with absolute paths. Relative paths are forbidden for security reasons. A new param [% PLUGIN_DIR %] allows plugin templates to know where to find the plugin home directory. The new feature allows plugin authors to use template `[% INCLUDE %]` directives in their templates. It does so by introducing a new variable, `PLUGIN_DIR`, allowing the template engine to locate the includes.

**Usage**: `[% INCLUDE "$PLUGIN_DIR/header.tt" %]`
martin.renvoize 2019-11-27 11:01:00 UTC Text to go in the release notes The new feature allows plugin authors to use template `[% INCLUDE %]` directives in their templates. It does so by introducing a new variable, `PLUGIN_DIR`, allowing the template engine to locate the includes.

**Usage**: `[% INCLUDE "$PLUGIN_DIR/header.tt" %]`
The new feature allows plugin authors to use template `[% INCLUDE %]` directives in their templates. It does so by introducing a new variable, `PLUGIN_DIR`, allowing the template engine to locate the includes.

**Usage**: `[% INCLUDE "$PLUGIN_DIR/header.tt" %]`

**Warning**: Care should be taken when installing any plugins and only plugins you trust should be used.
tomascohen 2019-11-27 19:37:24 UTC CC tomascohen
martin.renvoize 2020-01-21 17:06:43 UTC Keywords additional_work_needed
f.demians 2020-01-24 09:24:28 UTC Attachment #91875 Attachment is obsolete 0 1
f.demians 2020-01-24 09:24:41 UTC Attachment #91876 Attachment is obsolete 0 1
katrin.fischer 2020-06-04 20:38:15 UTC Status Pushed to oldstable RESOLVED
Resolution --- FIXED
jonathan.druart 2020-11-03 14:21:34 UTC Blocks 26803
Keywords additional_work_needed
CC jonathan.druart
dcook 2020-11-04 00:09:42 UTC CC dcook
katrin.fischer 2021-06-14 21:29:01 UTC Status RESOLVED CLOSED

Back to bug 23237