community / collection page in Mirage2

32 views
Skip to first unread message

Jose Blanco

unread,
Mar 4, 2021, 9:24:06 PM3/4/21
to DSpace Technical Support
Is there a way for the entire tree to be shown when you first get to the page? In other words, to have all the plus buttons expanded?

Thank you!
-Jose

euler

unread,
Mar 7, 2021, 8:31:28 PM3/7/21
to DSpace Technical Support
Hi Jose,

Perhaps you would like something like this? https://repository.cpu.edu.ph/community-list There is a custom javascript that you can change its default behavior (change collapsed from true to false to expand all):

$(function() {
    $("#tree").treeview({
        collapsed: true,
        animated: "medium",
        control:"#sidetreecontrol",
        persist: "location"
    });
}); 

Let me know if you are interested. 

Regards,
euler

Jose Blanco

unread,
Mar 8, 2021, 6:43:18 PM3/8/21
to euler, DSpace Technical Support
Yes, this looks great.  Where would I put this?

Thank you!
-Jose

--
All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/dd6ccf3b-6813-46c5-8414-f5bb1b5cc4acn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages