Mac Conin

Results 5 comments of Mac Conin

change the Snippet mxcalendar around line 96 after: //++ Form Chunk Filter match name $formFilter = $modx->getOption('formFilter',$scriptProperties,'form_') insert the following lines: //Filter against categories $categoryFilter = isset($_REQUEST['calf']) ? $_REQUEST['calf'] :...

did you modified the snippet (within the MODX backend)? What is your snippet call ?

Ah, sry. around line 170 //-- ADD IN THE CONTEXT AND CALENDAR PROPERTY FILTERS $whereArr['AND:context:IN'] = explode(',',$contextFilter); if(!empty($calendarFilter)) $whereArr['AND:calendar_id:IN'] = explode(',',$calendarFilter); ADD the following: if(!empty($categoryFilter)) $whereArr['AND:CategoryId.id:IN'] = explode(',',$categoryFilter); around line...

the used sql statements would be fine ;)

dito will check that out next week