Pages Management
The Pages Management section allows administrators to manage all static pages on the platform.
- Navigate to Pages in the admin panel.
Admin Panel UI
- Navigate to Pages in the admin panel.
- The admin can:
- View all pages in a table.
- Edit existing pages.
- Create new pages.
- Delete pages if necessary.
Features
- View All Pages: Displays a list of all pages with their titles, slugs, and options to edit or delete.
- Create a Page: Allows the admin to create a new page with a title, slug, description, and rich-text content.
- Edit a Page: Enables the admin to modify an existing page, updating its content dynamically.
- Delete a Page: Provides the option to permanently remove a page.
Editing and Creating Pages
- Title: The main heading of the page.
- Slug: A URL-friendly identifier (e.g.,
about
).
Once published, the page will be accessible at:
http://your-domain.com/p/[slug]
For example, a page with the slug about will be available at:
http://your-domain.com/p/about
- Description: A short summary for SEO and navigation purposes.
- Content: The main content of the page, written in rich text.
Usage Flow
- Admin accesses the Pages Management page.
- Admin can click Create Page to open the page creation form.
- Admin can edit an existing page by clicking the Edit button.
- Admin can delete a page by clicking the Delete button.
Error Handling
- Invalid page ID: Returns
404 Not Found
- Unauthorized request: Returns
403 Forbidden
- Server errors: Returns
500 Internal Server Error
Conclusion
The Pages Management panel allows administrators to effectively manage all static pages on the platform.