The sidebar management system allows administrators to configure navigation menus, add links, organize sections, and control sidebar appearance.
Overview
Sidebars are the main navigation menus in the application. Administrators can customize sidebars by adding, removing, or reorganizing menu items and links.
How to Access
- Log in as an administrator
- Navigate to Sidebars in the sidebar menu
- Click on Manage
- The sidebar management interface will open
Prerequisites
- Administrator role required
Step-by-Step Guide
Step 1: View Existing Sidebars
You will see a list of all configured sidebars (Admin, Writer, Reader, Professional, Guest). Click on a sidebar to edit it.
Step 2: Edit Sidebar Menu Items
For each sidebar, you can:
- Add Menu - Create a new menu section
- Edit Menu - Modify menu name and icon
- Delete Menu - Remove a menu section
- Reorder Menus - Drag and drop to change order
Step 3: Manage Links
Within each menu, you can manage links:
- Add Link - Create a new navigation link
- Edit Link - Change link name, URL, icon, or route
- Delete Link - Remove a link
- Reorder Links - Drag to change position
Step 4: Assign to Roles
Sidebars can be assigned to specific user roles. Select which roles can see each sidebar from the assignment panel.
Step 5: Preview and Save
Use the Preview button to see how the sidebar looks. Click Save to apply your changes.
Configuration Options
- Icon - Choose an icon from the Feather icon library
- Route/URL - Link to an internal route or external URL
- Order - Numeric value to determine display position
- Feature Gate - Optional feature flag to show/hide based on permissions
Troubleshooting
Issue: Sidebar not displaying for expected role
Solution: Check that the sidebar is assigned to the correct role and that feature gates are properly configured.
Issue: Cannot delete a menu item
Solution: Some system menus cannot be deleted. Only custom-added items can be removed.
Quick Reference
| Route | sidebars.index |
| Permission | Admin only |
| Category | Getting Started |
