[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-devel] Template Development
From: |
Owen Leonard |
Subject: |
Re: [Koha-devel] Template Development |
Date: |
Thu, 6 Apr 2006 16:55:48 -0400 |
User-agent: |
Mutt/1.4.1i |
> 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