Publisher - Managing Categories
Managing Categories in Publisher
Section titled “Managing Categories in Publisher”Complete guide to creating, organizing hierarchies, and managing categories in the Publisher module.
Category Basics
Section titled “Category Basics”What Are Categories?
Section titled “What Are Categories?”Categories organize articles into logical groups:
Example Structure:
News (Main Category) ├── Technology ├── Sports └── Entertainment
Tutorials (Main Category) ├── Photography │ ├── Basics │ └── Advanced └── Writing └── BloggingBenefits of Good Category Structure
Section titled “Benefits of Good Category Structure”✓ Better user navigation✓ Organized content✓ Improved SEO✓ Easier content management✓ Better editorial workflowAccess Category Management
Section titled “Access Category Management”Admin Panel Navigation
Section titled “Admin Panel Navigation”Admin Panel└── Modules └── Publisher └── Categories ├── Create New ├── Edit ├── Delete ├── Permissions └── OrganizeQuick Access
Section titled “Quick Access”- Log in as Administrator
- Go to Admin → Modules
- Click Publisher → Admin
- Click Categories in left menu
Creating Categories
Section titled “Creating Categories”Category Creation Form
Section titled “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
Section titled “Step 1: Basic Information”Category Name
Section titled “Category Name”Field: Category NameType: Text input (required)Max length: 100 charactersUniqueness: Should be uniqueExample: "Photography"Guidelines:
- Descriptive and singular or plural consistently
- Capitalized properly
- Avoid special characters
- Keep reasonably short
Category Description
Section titled “Category Description”Field: DescriptionType: Textarea (optional)Max length: 500 charactersUsed in: Category listing pages, category blocksPurpose:
- Explains category content
- Appears above category articles
- Helps users understand scope
- Used for SEO meta description
Example:
"Photography tips, tutorials, and inspiration forall skill levels. From composition basics to advancedlighting techniques, master your craft."Step 2: Parent Category
Section titled “Step 2: Parent Category”Create Hierarchy
Section titled “Create Hierarchy”Field: Parent CategoryType: DropdownOptions: None (root), or existing categoriesHierarchy Examples:
Flat Structure: News Tutorials Reviews
Nested Structure: News Technology Business Sports Tutorials Photography Basics Advanced WritingCreate Subcategory:
- Click Parent Category dropdown
- Select parent (e.g., “News”)
- Fill in category name
- Save
- New category appears as child
Step 3: Category Image
Section titled “Step 3: Category Image”Upload Category Image
Section titled “Upload Category Image”Field: Category ImageType: Image upload (optional)Format: JPG, PNG, GIF, WebPMax size: 5 MBRecommended: 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
Section titled “Step 4: Category Settings”Display Settings
Section titled “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/DescendingCategory Permissions
Section titled “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" permissionStep 5: SEO Settings
Section titled “Step 5: SEO Settings”Meta Tags
Section titled “Meta Tags”Field: Meta DescriptionType: Text (160 characters)Purpose: Search engine description
Field: Meta KeywordsType: Comma-separated listExample: photography, tutorials, tips, techniquesURL Configuration
Section titled “URL Configuration”Field: URL SlugType: TextAuto-generated from category nameExample: "photography" from "Photography"Can be customized before savingSave Category
Section titled “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
Section titled “Category Hierarchy”Create Nested Structure
Section titled “Create Nested Structure”Step-by-step example: Create News → Technology subcategory
1. Go to Categories admin2. Click "Add Category"3. Name: "News"4. Parent: (leave blank - this is root)5. Save6. Click "Add Category" again7. Name: "Technology"8. Parent: "News" (select from dropdown)9. SaveView Hierarchy Tree
Section titled “View Hierarchy Tree”Categories view shows tree structure:
📁 News 📄 Technology 📄 Sports 📄 Entertainment📁 Tutorials 📄 Photography 📄 Basics 📄 Advanced 📄 WritingClick expand arrows to show/hide subcategories.
Reorganize Categories
Section titled “Reorganize Categories”Move Category
Section titled “Move Category”- Go to Categories list
- Click Edit on category
- Change Parent Category
- Click Save
- Category moved to new position
Reorder Categories
Section titled “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
Section titled “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:
☐ Move articles to parent category☐ Move articles to root (News)☐ Delete all articles in category
- Confirm deletion
Category Operations
Section titled “Category Operations”Edit Category
Section titled “Edit Category”- Go to Admin → Publisher → Categories
- Click Edit on category
- Modify fields:
- Name
- Description
- Parent category
- Image
- Settings
- Click Save
Edit Category Permissions
Section titled “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
Section titled “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
Section titled “Category Permissions”Permission Matrix
Section titled “Permission Matrix” Anonymous Registered Editor AdminView category ✓ ✓ ✓ ✓Submit article ✗ ✓ ✓ ✓Edit own article ✗ ✓ ✓ ✓Edit all articles ✗ ✗ ✓ ✓Moderate articles ✗ ✗ ✓ ✓Manage category ✗ ✗ ✗ ✓Set Category-Level Permissions
Section titled “Set Category-Level Permissions”Per-Category Access Control
Section titled “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
Section titled “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
Section titled “Best Practices for Categories”Category Structure
Section titled “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 advanceNaming Guidelines
Section titled “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
Section titled “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 EuropeCategory Blocks
Section titled “Category Blocks”Publisher Category Block
Section titled “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/NoShow article count: Yes/NoHeight: (pixels or auto)- Click Save
Category Articles Block
Section titled “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: 5Show images: Yes/NoShow description: Yes/No- Click Save
Category Analytics
Section titled “Category Analytics”View Category Statistics
Section titled “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 agoView Category Traffic
Section titled “View Category Traffic”If analytics enabled:
- Click category name
- Click Statistics tab
- View:
- Page views
- Popular articles
- Traffic trends
- Search terms used
Category Templates
Section titled “Category Templates”Customize Category Display
Section titled “Customize Category Display”If using custom templates, each category can override:
publisher_category.tpl ├── Category header ├── Category description ├── Category image ├── Article listing └── PaginationTo customize:
- Copy template file
- Modify HTML/CSS
- Assign to category in admin
- Category uses custom template
Common Tasks
Section titled “Common Tasks”Create News Hierarchy
Section titled “Create News Hierarchy”Admin → Publisher → Categories1. Create "News" (parent)2. Create "Technology" (parent: News)3. Create "Sports" (parent: News)4. Create "Entertainment" (parent: News)Move Articles Between Categories
Section titled “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
Section titled “Hide Category Without Deleting”- Edit category
- Set Status: Disabled/Hidden
- Save
- Category not shown in menus (still accessible via URL)
Create Category for Drafts
Section titled “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 publishedImport/Export Categories
Section titled “Import/Export Categories”Export Categories
Section titled “Export Categories”If available:
- Go to Categories admin
- Click Export
- Select format: CSV/JSON/XML
- Download file
- Backup saved
Import Categories
Section titled “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
Section titled “Troubleshooting Categories”Problem: Subcategories not showing
Section titled “Problem: Subcategories not showing”Solution:
1. Verify parent category status is "Enabled"2. Check permissions allow viewing3. Verify subcategories have status "Enabled"4. Clear cache: Admin → Tools → Clear Cache5. Check theme shows subcategoriesProblem: Can’t delete category
Section titled “Problem: Can’t delete category”Solution:
1. Category must have no articles2. Move or delete articles first: Admin → Articles Select articles in category Change category to another3. Then delete empty category4. Or choose "move articles" option when deletingProblem: Category image not showing
Section titled “Problem: Category image not showing”Solution:
1. Verify image uploaded successfully2. Check image file format (JPG, PNG)3. Verify upload directory permissions4. Check theme displays category images5. Try re-uploading image6. Clear browser cacheProblem: Permissions not taking effect
Section titled “Problem: Permissions not taking effect”Solution:
1. Check group permissions in Category2. Check global Publisher permissions3. Check user belongs to configured group4. Clear session cache5. Log out and log back in6. Check permission modules installedCategory Best Practices Checklist
Section titled “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
Section titled “Related Guides”- Article Creation
- Permission Management
- Module Configuration
- Installation Guide
Next Steps
Section titled “Next Steps”- Create Articles in categories
- Configure Permissions
- Customize with Custom Templates
#publisher #categories #organization #hierarchy #management #xoops