Costum QubitMenu.php for theming

21 views
Skip to first unread message

jung...@gmail.com

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

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?

Thanks
Uwe Jung

Dan Gillean

unread,
May 8, 2023, 10:14:57 AM5/8/23
to ica-ato...@googlegroups.com
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.
604-527-2056
@accesstomemory
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 ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/d5513ac5-217f-4a2b-99c2-918064dc6573n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages