Calendar 6.x - add Comments

To add Comments to Events / Todo Records, please do the following modification:

file: modules/Calendar/modules/DetailView.php

Search:

$parentModuleModel = $this->getModule();

Insert before:

        $relatedLinks[] = array(
            'linktype' => 'DETAILVIEWTAB',
            'linklabel' => 'ModComments',
            'linkurl' => $recordModel->getDetailViewUrl().'&mode=showAllComments',
            'linkicon' => ''
        );