Question about controlcard ID

For this forum and the Archon website: Bug reports, suggestions, etc.

Moderators: paulnsorensen, kylefox2, prom, rishel

Question about controlcard ID

Postby djafferian » Wed Oct 02, 2013 3:39 pm

From controlcard.inc.php in the default template in the collections package :

if($objCollection->Classification)
{
?>
<div class='ccardcontent'><span class='ccardlabel'>ID:</span> <?php echo($objCollection->Classification->toString(LINK_NONE, true, false, true, false)); ?>/<?php echo($objCollection->getString('CollectionIdentifier')); ?></div>
<?php
}

If the object has a CollectionIdentifier but no Classification then no ID is displayed on the control card page. Our archives administrator would like to change our template to show the CollectionIdentifier as the ID even if the object has no Classification. Certainly I could change the above code to satisfy this request, but would this be sensible or is there a reason the above code is the way it is ?
djafferian
 
Posts: 2
Joined: Wed Jan 23, 2013 2:41 pm

Return to Bug Reports and User Issues

Who is online

Users browsing this forum: No registered users and 1 guest