This is the URL where the error message is displayed: https://www.plons.nu/agenda/maandkalender/2021/12?catids=
Attached is the file with the override of the flat template
I'm using Joomla
This is the php code in beginning of calendar_body.php
$app = JFactory::getApplication();
$thismenu = $app->getMenu()->getActive()->link;
use Joomla\String\StringHelper;
$cfg = JEVConfig::getInstance();
if ($cfg->get("tooltiptype",'joomla')=='overlib'){
JEVHelper::loadOverlib();
}
$view = $this->getViewName();
echo $this->loadTemplate('cell' );
$eventCellClass = "EventCalendarCell_".$view;
// previous and following month names and links
$followingMonth = $this->datamodel->getFollowingMonth($this->data);
$precedingMonth = $this->datamodel->getPrecedingMonth($this->data);
This is the code that was added after the Next month button:
<div class="lijstweergave">
<?php echo "<a href='".JRoute::_($thismenu)."' title='".JText::_(TPL_PLONS_AGENDA_LIJSTTEXT)."' style='text-decoration:none;'>".JText::_(TPL_PLONS_AGENDA_LIJST)."</a>";?>
</div>
Can somebody help me get my override back working again?