So I made this simple block. It allows for word and phrase searches of the Oliver system as well a a link to an advanced search.
Just extract the block to your moodle root directory then go to the admin screen to install it.
Once installed go to Admin->Blocks->Library Search Settings and enter the URL to your oliver gateway.exe
Thats it, the block is ready to go.
Hi Julian,
I have uploaded your Library Search block but I just get the name of the block as: blockname
How do I remedy this please?
Hi,
As you can see from the post date of the previous article, this block is by no means "new" any more. I've had a look at the code (as it's something I'd quite like to incorporate too) and I've hacked it about a little to get it working properly here. I've attached my hacked version. You should only need to replace the file "block_oliver.php".
When you've copied it over open it with a text editor. You'll see that I've replaced any obvious calls to database tables or variables that no longer exist, with fixed values. To customise it to your requirements just edit the following lines at the top of the file:
$this->title = 'Oliver Search'; (whatever you want to name the block)
$serverpath = 'http://caracal/oliver/gateway/gateway.exe'; (the location of your Oliver gateway.exe file.)
You can also edit any of the other variables to customise it further.
Hope this helps!
Richard
JR