Custom Attribute in Dashboard site tree

Permalink
Hello,

I'm trying to display a custom date attribute in the dashboard's site tree, but I can't get it. I can display the getCollectionDatePublic, but not a custom date. I need it for usablity; there are multiple pages with the same name, the custom attribute makes the difference.

So far I have this in /concrete/helpers/concrete/dashboard/sitemap.php, around line 348:

$startDate = $dateHelper->date('-d-m-Y', strtotime($c->getAttribute('custom_attribute__start_date')));


after that in showing the page name:

<span>' . $ri['cvName'] .$startDate.'</span>


But this isn't showing the correct date.
Does anybody know how to display a custom attribute is the site tree?

Best wishes and thanks,
Nick

nickratering
 
nickratering replied on at Permalink Reply
nickratering
I've already got it! Wasn't that difficult!