System plugin hooks for Calendar and Gallery content types #48

Open
opened 2026-05-29 02:08:10 +00:00 by jmiller · 1 comment
Owner

Summary

The system plugin only triggers cross-posting on com_content article saves. The new Calendar and Gallery service plugins need the system plugin to also hook into MokoJoomCalendar and MokoJoomGallery save events.

Acceptance Criteria

  • System plugin subscribes to onMokoJoomCalendarEventAfterSave event
  • System plugin subscribes to onMokoJoomGalleryAfterSave (gallery and image)
  • Dispatches to cross-post queue using existing mokojoomcalendar and mokojoomgallery service types
  • Event data mapped to the standard article-like structure (title, introtext, images, url)
  • Respects per-content cross-post skip flags
## Summary The system plugin only triggers cross-posting on `com_content` article saves. The new Calendar and Gallery service plugins need the system plugin to also hook into MokoJoomCalendar and MokoJoomGallery save events. ## Acceptance Criteria - System plugin subscribes to `onMokoJoomCalendarEventAfterSave` event - System plugin subscribes to `onMokoJoomGalleryAfterSave` (gallery and image) - Dispatches to cross-post queue using existing `mokojoomcalendar` and `mokojoomgallery` service types - Event data mapped to the standard article-like structure (title, introtext, images, url) - Respects per-content cross-post skip flags
Author
Owner

Branch created: feature/48-system-plugin-hooks-for-calendar-and-gal

git fetch origin
git checkout feature/48-system-plugin-hooks-for-calendar-and-gal
Branch created: [`feature/48-system-plugin-hooks-for-calendar-and-gal`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/48-system-plugin-hooks-for-calendar-and-gal) ```bash git fetch origin git checkout feature/48-system-plugin-hooks-for-calendar-and-gal ```
Sign in to join this conversation.
Type Feature
Status
Priority High
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCross#48