Re: [Koha-devel] Template Toolkit BLOCK in INCLUDE file

2015-01-28 Thread David Cook
evel- > boun...@lists.koha-community.org] On Behalf Of Marcel de Rooy > Sent: Wednesday, 28 January 2015 11:03 PM > To: koha-devel@lists.koha-community.org > Subject: Re: [Koha-devel] Template Toolkit BLOCK in INCLUDE file > > I recall using it and testing it somewhere (...) in Ko

Re: [Koha-devel] Template Toolkit BLOCK in INCLUDE file

2015-01-28 Thread Marcel de Rooy
I recall using it and testing it somewhere (...) in Koha and having it work fine too.. Mabye it is just little less obvious and a combination of things? > Could you please give (even) more detail? > I think I don't understand what you are saying, I tested with a simple > example and it seems to

Re: [Koha-devel] Template Toolkit BLOCK in INCLUDE file

2015-01-28 Thread Jonathan Druart
Hello David, Could you please give (even) more detail? I think I don't understand what you are saying, I tested with a simple example and it seems to work: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc i

[Koha-devel] Template Toolkit BLOCK in INCLUDE file

2015-01-27 Thread David Cook
Hi all: I was looking at defining some TT BLOCKs in an include file which I would INCLUDE into my main template and then PROCESS as needed (as part of bug 13631 http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13631). However, I noticed that you can't access a BLOCK in an included f