mxCalendar icon indicating copy to clipboard operation
mxCalendar copied to clipboard

Category in ajax views loads the blank page with calendar

Open FrancisBoudreau opened this issue 11 years ago • 0 comments

Hi Charles,

I found if you'r in ajax view and change mounth, then click on on category liste (even on your demo page) that it loads in that empty theme page with untheme calendar.

the fix I found is in the file mxcalendars.class.php arround line 603, I have replace the line $vals['link'] = $this->modx->makeUrl($resourceId,'',array('cid' => $id ) ); with this $vals['link'] = '?'.'cid='.$id;

the fist one cause the link for the category to add the ajax page in front of the category link.

cheers for your great work

FrancisBoudreau avatar Sep 13 '13 14:09 FrancisBoudreau