[Koha] Enable PHP in OpacMainUserBlock

Robin Sheat robin at catalyst.net.nz
Wed Oct 15 17:15:33 NZDT 2014


Alyssa Enganio Gono schreef op di 14-10-2014 om 20:58 [-0700]:
> Is it possible to use PHP in OpacMainUserBlock to display and query a
> list of
> new arrival books with its corresponding cover images? Please help me,
> I
> really dont have any clue.

Short answer is no, you can't do it that way.

Long answer is that it still is quite possible.

We've done this by having a script generate HTML for the covers each
night and using javascript to include it on the page.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF



More information about the Koha mailing list