SEC-17A · Section 19: Troubleshooting, Error Guide & Manual Administration
✓ Fully Implemented
User Manual Content Administration (/admin/manual): Articles, Translations, Screenshots & Revisions
Step-by-step guide for Platform Administrators to manage manual categories, create/edit trilingual articles (BM/EN/AR), upload screenshots, assign roles, review revision history, and monitor user feedback.
1. Creating & Editing Manual Articles (/admin/manual)
- Sign in and open
/{lang}/admin/manual. - Click Add New Article or click Edit next to any existing article.
- Configure article metadata:
- Select the Category / Chapter, enter the URL Slug, Article Code (e.g.,
SEC-05A), Module Key, and Associated System Route (`route_context`, used for Context-Sensitive Help). - Set Implementation Status (`implemented`, `partial`, or `planned`), Publication Status (`draft`, `published`, or `archived`), Sort Order, and Version.
- Select the applicable User Roles.
- Select the Category / Chapter, enter the URL Slug, Article Code (e.g.,
- Complete the content across the Bahasa Melayu, English, and العربية tabs: Title, Summary, Purpose, Prerequisites, Step-by-Step Instructions, Field Guide, Expected Result, Important Notes, and Troubleshooting.
- Enter a Revision Change Note and click Save Manual Article.
2. Uploading Screenshots & Managing Categories, FAQs & Feedback
- While editing an article at
/admin/manual?edit={id}, use the Upload Screenshot form to upload a PNG, JPG, or WEBP screenshot (max 4 MB) with trilingual captions. - Switch to the Categories / Chapters tab to add, edit, or reorder manual chapters.
- Switch to the FAQ tab to manage trilingual FAQ items across all 11 FAQ categories.
- Switch to the User Feedback Summary tab to review helpfulness ratings and user comments.
Input Fields & Options Reference
| Manual Database Table | Primary Responsibility |
|---|---|
manual_categories | Stores manual chapters, icons, sort order, and trilingual titles/descriptions. |
manual_articles & manual_article_translations | Stores article metadata, route context, and reviewed BM, EN, and AR content. |
manual_screenshots | Stores verified screenshot paths under public/assets/manual/screenshots/ and trilingual captions. |
manual_article_roles | Maps articles to user roles for role-specific filtering and printing. |
manual_revisions | Records JSON snapshots, version numbers, change notes, and actor IDs on every save. |
manual_feedback | Stores article helpfulness votes and optional user feedback comments. |
Expected Results: Manual categories, trilingual articles, screenshots, and FAQs are updated live with CSRF protection, DOM HTML sanitization, and revision tracking.
Important Notes & Data Boundaries: All HTML fields pass through `manual_sanitize_html()` to strip unsafe tags and attributes before database storage.
Common Errors & Troubleshooting
If a newly saved article is not visible in the public Help Center, verify that its status is set to published and its parent category is active.