Customizing Agenda View
Permalink
I have an Agenda View block on page 1, pulling info from the Calendar. I want to separate the event title from the date (see attached screenshot) with a line break rather than having them connected with a dash. I've dug around in various Calendar files but haven't found where to make the change.
Anyone know where I can make this change?
Anyone know where I can make this change?
Here it is...
Open
packages/calendar/blocks/calendar/tools/events_service.php
Toward the bottom you'll see this line:
Replace the dash in that line with a br tag and that should change the agenda view.
packages/calendar/blocks/calendar/tools/events_service.php
Toward the bottom you'll see this line:
<strong><a href="<?=DIR_REL?>/index.php?cID=<?=$eventObj->getCollectionID()?>"><?=$eventObj->getCollectionName() ?></a></strong> - <?=$eventObj->getAgendaDateString($eventDateKey)?>
Replace the dash in that line with a br tag and that should change the agenda view.
Worked like a charm... Thanx!