Calendar and Gallery Integration
System Plugin Hooks
The system plugin subscribes to:
onMokoJoomCalendarEventAfterSave — calendar events
onMokoJoomGalleryGalleryAfterSave — galleries
onMokoJoomGalleryImageAfterSave — images
Each handler maps the content to an article-like structure and dispatches to dispatchCrossPost() with a service type filter.
Service Type Filtering
When dispatching for calendar/gallery content, only services matching the specific type (mokojoomcalendar or mokojoomgallery) are targeted.
Calendar Plugin Features
- Enriches message with event date/time and location
- Attaches event image as media
- Configurable: include_location, include_date, date_format
Gallery Plugin Features
- Gallery mode: announces gallery with N preview thumbnails
- Image mode: posts individual images
- Configurable: post_mode, max_images, include_description