Admin: Study Material Categories
Categories group study materials (e.g. "Anatomy", "GNM 1st Year") so students can browse them in organized accordions. Create them once, then assign them when uploading materials.
Admin
1. Create a Category
- Log in to the admin panel at /admin.
- In the sidebar open Education → Classes → Study Materials Categories (/admin/study-material-categories).
- In the left New card fill in:
- Title — e.g. Anatomy, GNM 1st Year
- Order (optional) — lower numbers appear first
- Status — Active / Inactive
- Click Save — a toast confirms and the category appears in the right-hand table.
2. Edit or Delete
- In the Categories table (columns: Title, Study Materials count, Order, Status) open the row's ⋮ menu.
- Edit opens a dialog with the same three fields — change and Save.
- Delete removes the category (materials keep existing, just uncategorized).
3. Use Categories When Uploading Materials
- Open a course for editing (Classes → Courses → Edit) and scroll to the Study Materials section.
- In the Add Material modal, pick the category in the Category dropdown. The same dropdown appears in every Bulk Add row.
- Need a new category mid-upload? Use the quick create input next to the dropdown — type the name and click create; it's added and selected instantly.
- To organize existing materials in bulk, select them and use Assign Category (multi-select with search) or Reassign to move them between categories.
Where students see them: on the course page's Content tab and in the panel Study Materials page, materials are grouped into an accordion per category within each type tab.