https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26890

--- Comment #20 from Magnus Enger <[email protected]> ---
I have been thinking a bit about adding "things" to the OPAC in a flexible way.
The idea I ended up with was something like this: 

Some JavaScript that can fetch "content" asynchronously from the REST API or
some custom API/endpoint, so rendering the basic page is not slowed down by
e.g. external APIs/datasources used for generating the extra content. 

The JS-call would tell the API what sort of page it is coming from: frontpage,
results list, detail etc. 

The API/endpoint would call relevant plugins, gather data and return it. 

The returned data could identify different locations where it wants to be
displayed, like "mainuserblock" for the front page, "tab" or "below the
print/hold/etc links on the right side of the page" for detail view etc. 

Not sure if that makes sense.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to