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. -- View this message in context: http://koha.1045719.n5.nabble.com/Enable-PHP-in-OpacMainUserBlock-tp5814424.... Sent from the Koha-general mailing list archive at Nabble.com.
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
Can you show me a hint on how it works. Any link would be very much appreciated. :) On Wed, Oct 15, 2014 at 12:17 PM, Robin Sheat-2 [via Koha] < ml-node+s1045719n5814425h55@n5.nabble.com> wrote:
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
_______________________________________________ Koha mailing list http://koha-community.org [hidden email] <http://user/SendEmail.jtp?type=node&node=5814425&i=0> http://lists.katipo.co.nz/mailman/listinfo/koha
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://koha.1045719.n5.nabble.com/Enable-PHP-in-OpacMainUserBlock-tp5814424p... To unsubscribe from Enable PHP in OpacMainUserBlock, click here <http://koha.1045719.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5814424&code=dmhldmhhbmd2aGFraGlraGFuZ0BnbWFpbC5jb218NTgxNDQyNHwtMTI2NjkxMjQxNg==> . NAML <http://koha.1045719.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- Alyssa Gono -- View this message in context: http://koha.1045719.n5.nabble.com/Enable-PHP-in-OpacMainUserBlock-tp5814424p... Sent from the Koha-general mailing list archive at Nabble.com.
We've done this by having a script generate HTML for the covers each night and using javascript to include it on the page.
You can also use an iframe to pull in content from a different page. This is useful if you don't have access to PHP on the server on which Koha is installed. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
participants (3)
-
Alyssa Enganio Gono -
Owen Leonard -
Robin Sheat