[Koha-bugs] [Bug 12296] OPAC search box should be customisable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 22 09:47:47 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12296

Magnus Enger <magnus at enger.priv.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |magnus at enger.priv.no

--- Comment #6 from Magnus Enger <magnus at enger.priv.no> ---
(In reply to Katrin Fischer from comment #1)
> translations

I did some testing on that a while back, can't remember where I commented on
it. But if we do a TT-eval on the contents of the syspref:

    [% OpacCustomSearch | eval %]

we can have TT code and logic based on languages in the contents of the
syspref:

    [% IF ( lang == 'de' ) %]
        Der alte Zuul
    [% ELSE %]
        Ye olde Zuul
    [% END %]

(I have not tested this again now so please regard this as pseudocode.)

Arguments against:

1. We might not want to do eval on a syspref
2. People would need to know TT to edit the (logic of the) syspref. (If we
didn't invent some easier syntax that could be translated to TT.)

Just my NOK 0,02...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list