SEC-05C
✓ Fully Implemented
Mosque Microsite Branding, Logo, Photographs & Mosque-Specific Settings (/mosque-admin/website)
How to upload a mosque logo and cover photograph, select a theme accent color, toggle microsite sections, and edit trilingual microsite content.
Step-by-Step Instructions
1. Uploading the Mosque Logo & Cover Photograph
- Open
/{lang}/mosque-admin/website. - In the Mosque Logo field, select your official emblem image (JPG, PNG, or WEBP, max 3 MB).
- In the Cover Image field, select a photograph of the mosque (JPG, PNG, or WEBP, max 3 MB).
2. Configuring Theme Accent, Visibility Toggles & Social Links
- Choose a Theme Accent color (
emerald,teal,blue, ormaroon). - Enter Operating Hours, optional Map Link, and official Facebook, YouTube, Instagram, or External Website URLs (must start with
https://). - Toggle which sections appear publicly on your microsite:
show_prayer_times,show_announcements,show_activities,show_committee, andshow_location_map.
3. Editing Trilingual Microsite Content (BM, EN, AR)
- Switch between the Bahasa Melayu, English, and العربية language tabs.
- Complete the Tagline, Short Introduction, Mosque History, Vision & Mission, and Contact Notes for each language.
- Check the Translation reviewed box once verified and click Save.
Verified Screenshots & UI Reference
Input Fields & Options Reference
| Setting Field | Database Table | Validation & Constraints |
|---|---|---|
logo & cover | mosque_media | Allowed MIME: image/jpeg, image/png, image/webp; max 3 MB. |
theme_accent | mosque_settings | Allowed values: emerald (default), teal, blue, maroon. |
facebook_url, etc. | mosque_settings | Must be valid https:// URLs up to 255 characters. |
tagline, short_intro, history, vision_mission | mosque_translations | Stored per language (ms, en, ar). |
Expected Results
The public mosque microsite `/masjid/{slug}` immediately reflects the updated logo, cover photograph, theme accent, visible tabs, and trilingual descriptions.
Important Notes & Data Boundaries: Uploaded media files are stored outside the public web root in `storage/mosque-media/{mosque_id}/` and served securely via `/media/mosque?id={media_id}`.
Common Errors & Troubleshooting
If an external social or map URL is rejected, ensure it starts with https:// (plain http:// URLs are rejected for security).