Managing Categories in Publisher¶
Complete guide to creating, organizing hierarchies, and managing categories in the Publisher module.
Category Basics¶
What Are Categories?¶
Categories organize articles into logical groups:
Example Structure:
News (Main Category)
├── Technology
├── Sports
└── Entertainment
Tutorials (Main Category)
├── Photography
│ ├── Basics
│ └── Advanced
└── Writing
└── Blogging
Benefits of Good Category Structure¶
✓ Better user navigation
✓ Organized content
✓ Improved SEO
✓ Easier content management
✓ Better editorial workflow
Access Category Management¶
Admin Panel Navigation¶
Admin Panel
└── Modules
└── Publisher
└── Categories
├── Create New
├── Edit
├── Delete
├── Permissions
└── Organize
Quick Access¶
- Log in as Administrator
- Go to Admin → Modules
- Click Publisher → Admin
- Click Categories in left menu
Creating Categories¶
Category Creation Form¶
graph TD
A[Create Category] -->|Step 1| B[Basic Info]
A -->|Step 2| C[Details]
A -->|Step 3| D[Images]
A -->|Step 4| E[Settings]
A -->|Step 5| F[Save] Step 1: Basic Information¶
Category Name¶
Field: Category Name
Type: Text input (required)
Max length: 100 characters
Uniqueness: Should be unique
Example: "Photography"
Guidelines: - Descriptive and singular or plural consistently - Capitalized properly - Avoid special characters - Keep reasonably short
Category Description¶
Field: Description
Type: Textarea (optional)
Max length: 500 characters
Used in: Category listing pages, category blocks
Purpose: - Explains category content - Appears above category articles - Helps users understand scope - Used for SEO meta description
Example:
"Photography tips, tutorials, and inspiration for
all skill levels. From composition basics to advanced
lighting techniques, master your craft."
Step 2: Parent Category¶
Create Hierarchy¶
Hierarchy Examples:
Flat Structure:
News
Tutorials
Reviews
Nested Structure:
News
Technology
Business
Sports
Tutorials
Photography
Basics
Advanced
Writing
Create Subcategory:
- Click Parent Category dropdown
- Select parent (e.g., "News")
- Fill in category name
- Save
- New category appears as child
Step 3: Category Image¶
Upload Category Image¶
Field: Category Image
Type: Image upload (optional)
Format: JPG, PNG, GIF, WebP
Max size: 5 MB
Recommended: 300x200 px (or your theme size)
To Upload:
- Click Upload Image button
- Select image from computer
- Crop/resize if needed
- Click Use This Image
Where Used: - Category listing page - Category block header - Breadcrumb (some themes) - Social media sharing
Step 4: Category Settings¶
Display Settings¶
Status:
- Enabled: Yes/No
- Hidden: Yes/No (hidden from menus, still accessible)
Display Options:
- Show description: Yes/No
- Show image: Yes/No
- Show article count: Yes/No
- Show subcategories: Yes/No
Layout:
- Items per page: 10-50
- Display order: Date/Title/Author
- Display direction: Ascending/Descending
Category Permissions¶
Who Can View:
- Anonymous: Yes/No
- Registered: Yes/No
- Specific groups: Configure per group
Who Can Submit:
- Registered: Yes/No
- Specific groups: Configure per group
- Author must have: "submit articles" permission
Step 5: SEO Settings¶
Meta Tags¶
Field: Meta Description
Type: Text (160 characters)
Purpose: Search engine description
Field: Meta Keywords
Type: Comma-separated list
Example: photography, tutorials, tips, techniques
URL Configuration¶
Field: URL Slug
Type: Text
Auto-generated from category name
Example: "photography" from "Photography"
Can be customized before saving
Save Category¶
- Fill all required fields:
- Category Name ✓
- Description (recommended)
- Optional: Upload image, set SEO
- Click Save Category
- Confirmation message appears
- Category is now available
Category Hierarchy¶
Create Nested Structure¶
Step-by-step example: Create News → Technology subcategory
1. Go to Categories admin
2. Click "Add Category"
3. Name: "News"
4. Parent: (leave blank - this is root)
5. Save
6. Click "Add Category" again
7. Name: "Technology"
8. Parent: "News" (select from dropdown)
9. Save
View Hierarchy Tree¶
Categories view shows tree structure:
📁 News
📄 Technology
📄 Sports
📄 Entertainment
📁 Tutorials
📄 Photography
📄 Basics
📄 Advanced
📄 Writing
Click expand arrows to show/hide subcategories.
Reorganize Categories¶
Move Category¶
- Go to Categories list
- Click Edit on category
- Change Parent Category
- Click Save
- Category moved to new position
Reorder Categories¶
If available, use drag-and-drop:
- Go to Categories list
- Click and drag category
- Drop in new position
- Order saves automatically
Delete Category¶
Option 1: Soft Delete (Hide)
- Edit category
- Set Status: Disabled
- Click Save
- Category hidden but not deleted
Option 2: Hard Delete
- Go to Categories list
- Click Delete on category
- Choose action for articles:
- Confirm deletion
Category Operations¶
Edit Category¶
- Go to Admin → Publisher → Categories
- Click Edit on category
- Modify fields:
- Name
- Description
- Parent category
- Image
- Settings
- Click Save
Edit Category Permissions¶
- Go to Categories
- Click Permissions on category (or click category then click Permissions)
- Configure groups:
For each group:
☐ View articles in this category
☐ Submit articles to this category
☐ Edit own articles
☐ Edit all articles
☐ Approve/Moderate articles
☐ Manage category
- Click Save Permissions
Set Category Image¶
Upload new image:
- Edit category
- Click Change Image
- Upload or select image
- Crop/resize
- Click Use Image
- Click Save Category
Remove image:
- Edit category
- Click Remove Image (if available)
- Click Save Category
Category Permissions¶
Permission Matrix¶
Anonymous Registered Editor Admin
View category ✓ ✓ ✓ ✓
Submit article ✗ ✓ ✓ ✓
Edit own article ✗ ✓ ✓ ✓
Edit all articles ✗ ✗ ✓ ✓
Moderate articles ✗ ✗ ✓ ✓
Manage category ✗ ✗ ✗ ✓
Set Category-Level Permissions¶
Per-Category Access Control¶
- Go to Categories list
- Select a category
- Click Permissions
- For each group, select permissions:
Example: News category
Anonymous: View only
Registered: Submit articles
Editors: Approve articles
Admins: Full control
- Click Save
Field-Level Permissions¶
Control which form fields users can see/edit:
Example: Limit field visibility for Registered users
Registered users can see/edit:
✓ Title
✓ Description
✓ Content
✗ Author (auto-set to current user)
✗ Scheduled date (only editors)
✗ Featured (only admins)
Configure in: - Category Permissions - Look for "Field Visibility" section
Best Practices for Categories¶
Category Structure¶
✓ Keep hierarchy 2-3 levels deep
✗ Don't create too many top-level categories
✗ Don't create categories with one article
✓ Use consistent naming (plural or singular)
✗ Don't use vague names ("Stuff", "Other")
✓ Create categories for articles that exist
✗ Don't create empty categories in advance
Naming Guidelines¶
Good names:
"Photography"
"Web Development"
"Travel Tips"
"Business News"
Avoid:
"Articles" (too vague)
"Content" (redundant)
"News&Updates" (inconsistent)
"PHOTOGRAPHY STUFF" (formatting)
Organization Tips¶
By Topic:
News
Technology
Sports
Entertainment
By Type:
Tutorials
Video
Text
Interactive
By Audience:
For Beginners
For Experts
Case Studies
Geographic:
North America
United States
Canada
Europe
Category Blocks¶
Publisher Category Block¶
Display category listings on your site:
- Go to Admin → Blocks
- Find Publisher - Categories
- Click Edit
- Configure:
Block Title: "News Categories"
Show subcategories: Yes/No
Show article count: Yes/No
Height: (pixels or auto)
- Click Save
Category Articles Block¶
Show latest articles from specific category:
- Go to Admin → Blocks
- Find Publisher - Category Articles
- Click Edit
- Select:
Category: News (or specific category)
Number of articles: 5
Show images: Yes/No
Show description: Yes/No
- Click Save
Category Analytics¶
View Category Statistics¶
From Categories admin:
Each category shows:
- Total articles: 45
- Published: 42
- Draft: 2
- Pending approval: 1
- Total views: 5,234
- Latest article: 2 hours ago
View Category Traffic¶
If analytics enabled:
- Click category name
- Click Statistics tab
- View:
- Page views
- Popular articles
- Traffic trends
- Search terms used
Category Templates¶
Customize Category Display¶
If using custom templates, each category can override:
publisher_category.tpl
├── Category header
├── Category description
├── Category image
├── Article listing
└── Pagination
To customize:
- Copy template file
- Modify HTML/CSS
- Assign to category in admin
- Category uses custom template
Common Tasks¶
Create News Hierarchy¶
Admin → Publisher → Categories
1. Create "News" (parent)
2. Create "Technology" (parent: News)
3. Create "Sports" (parent: News)
4. Create "Entertainment" (parent: News)
Move Articles Between Categories¶
- Go to Articles admin
- Select articles (checkboxes)
- Select "Change Category" from bulk actions dropdown
- Choose new category
- Click Update All
Hide Category Without Deleting¶
- Edit category
- Set Status: Disabled/Hidden
- Save
- Category not shown in menus (still accessible via URL)
Create Category for Drafts¶
Best Practice:
Create "In Review" category
├── Purpose: Articles awaiting approval
├── Permissions: Hidden from public
├── Only admins/editors can see
├── Move articles here until approved
└── Move to "News" when published
Import/Export Categories¶
Export Categories¶
If available:
- Go to Categories admin
- Click Export
- Select format: CSV/JSON/XML
- Download file
- Backup saved
Import Categories¶
If available:
- Prepare file with categories
- Go to Categories admin
- Click Import
- Upload file
- Choose update strategy:
- Create new only
- Update existing
- Replace all
- Click Import
Troubleshooting Categories¶
Problem: Subcategories not showing¶
Solution:
1. Verify parent category status is "Enabled"
2. Check permissions allow viewing
3. Verify subcategories have status "Enabled"
4. Clear cache: Admin → Tools → Clear Cache
5. Check theme shows subcategories
Problem: Can't delete category¶
Solution:
1. Category must have no articles
2. Move or delete articles first:
Admin → Articles
Select articles in category
Change category to another
3. Then delete empty category
4. Or choose "move articles" option when deleting
Problem: Category image not showing¶
Solution:
1. Verify image uploaded successfully
2. Check image file format (JPG, PNG)
3. Verify upload directory permissions
4. Check theme displays category images
5. Try re-uploading image
6. Clear browser cache
Problem: Permissions not taking effect¶
Solution:
1. Check group permissions in Category
2. Check global Publisher permissions
3. Check user belongs to configured group
4. Clear session cache
5. Log out and log back in
6. Check permission modules installed
Category Best Practices Checklist¶
Before deploying categories:
- Hierarchy is 2-3 levels deep
- Each category has 5+ articles
- Category names are consistent
- Permissions are appropriate
- Category images are optimized
- Descriptions are complete
- SEO metadata filled in
- URLs are friendly
- Categories tested on front-end
- Documentation updated
Related Guides¶
Next Steps¶
- Create Articles in categories
- Configure Permissions
- Customize with Custom Templates