[Koha] A general query about UI customization

Chris Cormack chrisc at catalyst.net.nz
Mon Jan 21 07:15:57 NZDT 2013


* Indranil Das Gupta (indradg at gmail.com) wrote:
> Hi,
> 
> No real problem, rather just want people's opinion on this.
> 
> For OPAC or Staff Client text string UI artifacts - e.g, labels, what
> do you prefer to do?
> 
> a) hand edit the template file
> 
> or
> 
> b) use a bit of jquery in either intranetuserjs / opacuserjs for
> on-the-fly replacement
> 
> My personal preference is to use approach "b"
> 

Hi Indranil

b) Is almost always the best option, Next best is to use the
translation tools to create a local .po file, edit that and generate a
new set of templates.

The last resort, if you can do nothing else is a).

Option b and the translation option will not create a file that is
going to be overwritten on upgrade. Option a) means you either have to
run out of git, or manually remake that change every upgrade.

What usually happens is if people do a few a) they then decide
upgrading is hard, and don't upgrade for things like bug or security
releases and make a rod for their own backs.

Chris
-- 
Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand


More information about the Koha mailing list