Display of reference code in Related Descriptions

65 views
Skip to first unread message

drba...@ucalgary.ca

unread,
Apr 14, 2026, 1:54:06 PMApr 14
to AtoM Users
In 2.10.1, Is there a way to modify or remove the display of the reference codes in the Related Description links in an archival description?

Older versions did not display this way, and it looks somewhat cluttered for us.

Thanks,

Damian

Johan Pieterse

unread,
Jul 14, 2026, 11:00:54 AM (7 days ago) Jul 14
to AtoM Users
Good day Damiam

Yes, in 2.10 the reference code was added to the Related Descriptions link labels via apps/qubit/modules/informationobject/templates/_relatedMaterialDescriptions.php. It prepends $item->object->referenceCode (and $item->subject->referenceCode for the reverse relation). 

To remove it upgrade-safely, override that template in your theme (plugins/<yourTheme>/modules/informationobject/templates/_relatedMaterialDescriptions.php) and delete the two lines that set $itemTitle = "{...referenceCode} {$itemTitle}". 
Leave the rest to keep level-of-description + title, or drop those lines too to show just the title as older versions did. 

Clear the cache (php symfony cc) after.

Regards
Dr. Johan Pieterse
The Archive and Heritage digital Commons Group
Reply all
Reply to author
Forward
0 new messages