Hierarchical collections

Bug #995897 reported by Siegfried Schweizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Goobi.Presentation
Confirmed
Wishlist
Siegfried Schweizer

Bug Description

This is no bug, but rather a description of an additional feature I have done and been requested to report it here.

For the start page of Staatsbibliothek zu Berlin's presentation we need to have a hierarchization of collections. For example, a collection named "Ostasiatica" has got two subcollections, "Japonica" and "Sinica". In our old presentation (which isn't based upon Goobi.Presentation, see http://digital.staatsbibliothek-berlin.de/dms/suche/) these hierarchies are hardcoded.

Now, as we're preparing to use Goobi.Presentation when relaunching our presentation soon, we'd like to be a bit more flexible, and so I made this hierarchization configurable. I "extended" the tx_dlf_collection plugin and added some flexform functionality to the backend allowing every collection to be configured as a subcollection of any other collection besides itself. See attached screenshots.

Of course this only is kind of a visual effect without direct influence on search algorithms and hit lists.

Revision history for this message
Siegfried Schweizer (siegfried-schweizer) wrote :
Changed in goobi-presentation:
status: New → Confirmed
importance: Undecided → Wishlist
assignee: nobody → Siegfried Schweizer (siegfried-schweizer)
Revision history for this message
Michael Luetgen (michael-luetgen) wrote :

One question. Does it mean that hierachies on more than 2 levels are possible?

Revision history for this message
Siegfried Schweizer (siegfried-schweizer) wrote :

Yes, of course, that's what I mean by "allowing every collection to be configured as a subcollection of any other collection besides itself". See also the attached screenshot.

Revision history for this message
Siegfried Schweizer (siegfried-schweizer) wrote :

Finished this plugin now. Also added JQuery toggle functionality for showing and hiding subcategories, see attached screenshot.

The checkboxes are needed because this collection list will be incorporated into our Simple Search page in order to let the user narrow down his search to a subset of collections.

This plugin is based on tx_dlf_collection and "extends tx_dlf_plugin", like said in the Coding Guidelines (Leitfaden für Goobi-Entwickler). It basically adds a few lines of code to the original tx_dlf_collection::showCollectionList() method, and has got some extra methods as well as custom template and Javascript files. Would it be possible to incorporate an xclass or a hook into tx_dlf_collection in order to being able to better integrate this functionality into Goobi.Presentation?

Revision history for this message
Sebastian Meyer (sebastian-meyer) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.