[Koha-devel] Template Development

Owen Leonard oleonard at athenscounty.lib.oh.us
Thu Apr 6 22:55:48 CEST 2006


> It is already.
> It's in uservenv.
> 
> To get it, just add :
> $template->param(branchcode => C4::Context->userenv->{branch});
> in Auth.pm somewhere around line 214 (sub get_template_and_user)

I was very excited to hear this until I realized that this change /doesn't/
allow me to show the current logged in branch. It shows me the home branch
of the current logged in user. Not the same thing!

  -- Owen





More information about the Koha-devel mailing list