[Koha] Get the firstname alone
Galen Charlton
gmcharlt at gmail.com
Tue Aug 4 10:49:20 NZST 2009
Hi,
2009/7/31 <celestialcitizen at gmail.com>:
> When a user logs in to Koha system his first name and surrname are retrieved
> from the sql database and are displayed on the page
> Now I want to customize it so that only the firstname is displayed.
> Can anyone tell me which part of the code contains this functionality and
> how do I change it to suit my needs
Assuming you're doing this on Koha 3.0 or later, probably the easiest
way to do that is to edit the template
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc by removing
references to "<!-- TMPL_VAR NAME="firstname" -->".
Regards,
Galen
--
Galen Charlton
gmcharlt at gmail.com
More information about the Koha
mailing list