[Koha-bugs] [Bug 34862] blocking_errors.inc not included everywhere

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 9 23:07:11 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34862

--- Comment #17 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #10)
> (In reply to David Cook from comment #9)
> > One of these days it would be great if folk would support the idea of using
> > WRAPPER
> > (http://www.template-toolkit.org/docs/manual/Directives.
> > html#section_WRAPPER) with Koha so that we could more easily make template
> > changes to every page...
> 
> git grep WRAPPER?

Apologies for not being clear. What I mean is a wrapper that includes the
header and footer. Every page template would use the same wrapper and just fill
in the components needed for that page. Similar to what I did for bug 31339 but
more comprehensive.

That way blocking_error.inc could be included 1 time in the wrapper and then
every page would automagically get it because they're using the wrapper. I have
a different system that works that way and it's so nice.

It would involve a lot of refactoring though for Koha. That said, we could
create that wrapper and start using it for new pages and easy refactors...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list