Step-by-step instructions for creating mosque activities, configuring one-time or recurring schedules (daily, weekly, monthly, custom), managing locations, posters, registration URLs, and occurrence exceptions.
Purpose of FunctionEnable Mosque Administrators to publish lectures, classes, and community events on their microsite and the national activity calendar.
PrerequisitesSigned in as `mosque_admin` with an active `activity_publishing` subscription entitlement.
Required User PermissionsMosque Scope: mosque.manage + Active Subscription (activity_publishing)
1. Creating or Updating a Mosque Activity (/mosque-admin/activities)
Open /{lang}/mosque-admin/activities.
Select the Activity Category and Status (draft, published, cancelled, or archived).
Set the Start Date/Time (start_at) and End Date/Time (end_at) in Asia/Kuala_Lumpur time.
Enter the SpeakerName, Event Location / Venue, optional Participant Capacity, and optional external Registration URL (must start with https://).
Upload an optional Activity Poster (JPG, PNG, or WEBP, max 3 MB).
Fill in the Title, Summary, and Description across the BM, EN, and AR tabs, then click Save.
2. Configuring Programme Recurrence Schedules
Under Recurrence Type, choose:
once: Single occurrence.
daily: Repeats every N days.
weekly: Repeats on selected weekdays (mon..sun).
monthly: Repeats on a specific day of the month (1–31).
custom: Comma-separated list of custom YYYY-MM-DD dates (up to 60 dates).
Optionally set an Until Date to bound the recurrence series.
3. Managing Single-Occurrence Exceptions
Edit the recurring activity at /mosque-admin/activities?edit={id}.
In the Occurrence Exceptions section, select a specific occurrence date, choose cancelled, rescheduled (with new start/end times), or restore, add an optional note, and click Save.
Mosque Activity Management, Recurrence Schedules, and Occurrence Exceptions (/mosque-admin/activities).
Input Fields & Options Reference
Field
Table
Validation & Constraints
category_id
mosque_activities
Must reference an active category in activity_categories.
start_at & end_at
mosque_activities
end_at must be greater than or equal to start_at.
registration_url
mosque_activities
Optional; only valid https:// URLs are accepted.
poster
mosque_activities
JPG/PNG/WEBP ≤ 3 MB; served via /media/activity?id={id}.
recurrence_type
activity_schedules
once, daily, weekly, monthly, or custom.
Expected Results: The activity is published on `/masjid/{slug}/activities` and indexed in the national `/activities` directory and calendar.
Important Notes & Data Boundaries: Activity posters are stored outside the web root in `storage/activity-media/{mosque_id}/`.
Common Errors & Troubleshooting
If saving fails with an end-time error, ensure end_at is not earlier than start_at.
SEC-07B · Section 7: Mosque Activities and Programmes✓ Fully Implemented
Enter the category Slug, numeric Sort Order, check Active, and provide the category Name in BM, EN, and AR.
Click Save. Active categories become selectable by all Mosque Administrators.
2. Curating Featured Activities (/admin/featured-activities)
Open /{lang}/admin/featured-activities.
Check or uncheck the Featured box next to published mosque activities and click Save.
Activity Categories (/admin/activity-categories) and Featured Portal Activities (/admin/featured-activities).
Input Fields & Options Reference
Field
Table
Description
slug
activity_categories
Unique URL-safe category identifier.
is_active
activity_categories
Enables the category in mosque forms and public filters.
is_featured
mosque_activities
Highlights the activity on the portal homepage and directory.
Expected Results: Activity categories and featured activity highlights are updated across the portal.
Important Notes & Data Boundaries: All changes are logged in `audit_logs` under `activity.category.saved` and `activity.featured.updated`.
Common Errors & Troubleshooting
If a category does not appear in mosque forms, verify that is_active is enabled.
SEC-07C · Section 7: Mosque Activities and Programmes◐ Partially Implemented
Viewing Upcoming Programmes, Calendar, ICS Export & Participant/Attendance Status (/activities)
How to search and filter upcoming mosque programmes, switch between list and monthly calendar views, export ICS files, and understand external registration links versus unimplemented internal attendance tracking.
Purpose of FunctionHelp community members discover mosque programmes and clarify how participant registration and activity reporting operate in the current system.
PrerequisitesNone.
Required User PermissionsPublic Access (/activities & /activity/{id})
Participant Registration (External HTTPS Link): When a mosque configures a registration_url and optional capacity on an activity, the activity detail page at /{lang}/activity/{id} displays the capacity and direct registration link.
Internal Participant Roster & Attendance Tracking (Not Implemented): Internal participant sign-up rosters and attendance check-in tracking are not implemented in the current release.
Activity Reports: Aggregate activity reports by state, district, and category are implemented at /admin/reports, /main/reports, and /jakim/reports.
Public Activity Directory, Monthly Calendar View, ICS Export, and Programme Details (/activities).
Input Fields & Options Reference
Query Parameter
Route
Function
view=calendar&month=YYYY-MM
/activities
Renders a full monthly calendar grid of expanded occurrences.
format=ics
/activities, /activity/{id}
Downloads an RFC 5545 iCalendar (.ics) file.
Expected Results: Visitors can browse upcoming programmes, view monthly calendars, export ICS feeds, and access external registration links.
Important Notes & Data Boundaries: Recurring schedules are automatically expanded into individual occurrences and honor any single-date cancellations or reschedules.
Common Errors & Troubleshooting
If no programmes match your filter, clear the date or district filter to view all upcoming activities nationwide.