On Sun, 14 Aug 2011, Diwaker Ghimire wrote:
> I need to have more than one virtual collections [can i do that
> ?]. Currently what i am doing is i am adding multiple childs of root
> virtual collections and showing each of them into their own
> "narrowbox". For that i have added quite few code on
> websearch_webcoll.py file. My question is : how can i separate my code
> from core websearch_webcoll module [i need to overwrite some methods
> too.] so that core files remains clean.

(This one does not seem to have been answered either, so I'm answering
only now.)

Yes, you can have more than one virtual collection stemming from a given
real collection.  For example, see <https://cdsweb.cern.ch/>.  All the
`Focus on' collections such as `CERN Series' or `CERN Departments' start
a new virtual tree stemming from the Home collection.

If you don't need to show them inside their own boxes, it will work out
of the box.  If you want to show them in their own boxes, then indeed a
patch would be required.  

We can add a switch to Invenio so that every instance could customise
their behaviour.

Please let me know if this still interest you, and whether we can see
your site for a live example, and how your current patch looks like.

Best regards
-- 
Tibor Simko

Reply via email to