https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31339
--- Comment #2 from David Cook <[email protected]> --- For the moment, I'm including this wrapper template in my Koha plugin. In my .pm file I do this: my $wrapper_path = abs_path( $self->mbf_path( 'plugin-staff-wrapper.tt' ) ); $template->{VARS}->{wrapper_path} = $wrapper_path; Then for each individual template I need for specific functionality, I can just do this: [% WRAPPER "$wrapper_path" %] <h1>Plugin Name</h1> [% END %] -- Even if the wrapper isn't included in Koha core, it could mean updating just the 1 wrapper template instead of updating every single template file because there's a new header include needed or something. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
