Costum QubitMenu.php for theming

Skip to first unread message

May 5, 2023, 11:29:16 AM5/5/23
to AtoM Users

for theming I need to add a "class" attribute to the anchors of dropdown menu elements. As I have noticed, the anchor will be constructed inside the displayHierarchyAsList function in /lib/model/QubitMenu.php
Is there a way to overwrite this file in a plugin? Similar to how modules and templates can be overwritten in a plugin?

Uwe Jung

Dan Gillean

May 8, 2023, 10:14:57 AM5/8/23
Hi Uwe, 

I've just given a very similar answer here: 
The short version is: at this point, our team has not tried that, so your guess is as good as ours. I would encourage you to make frequent backups, consult the Symfony 1.x documentation, and keep experimenting to see what is possible. Let us know what you learn! 

Sorry we cannot be of more help at this time, but I wish you the best of luck in your experiments!

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
he / him

You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages