Documentation Index
Fetch the complete documentation index at: https://mintlify.com/emmanueljarquin-sys/GrupoMecsaCMS/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Categories module provides a hierarchical taxonomy system for organizing content, blog posts, clients, projects, and testimonials throughout the Grupo Mecsa CMS.Key Features
Hierarchical Structure
Create parent-child relationships for nested categories
Multi-Purpose
Use categories across multiple modules (content, blog, clients)
Blog Integration
Mark categories specifically for blog posts
CRUD Operations
Full create, read, update, and delete functionality
Category Structure
Each category includes:- ID: Auto-incrementing identifier
- Name: Category display name
- Parent (
id_padre): Optional parent category for hierarchy - Blog Flag (
categoria_blog): Boolean indicating if category is for blog posts
Creating Categories
Enter Category Details
Fill in the required fields:
- Name: Category display name
- Parent Category (optional): Select from existing categories
- Blog Category (checkbox): Mark if this category is for blog posts
Hierarchical Categories
Categories support unlimited nesting levels:categorias.php
Example Hierarchy
Blog Categories
Categories can be marked specifically for blog posts:categorias.php
Blog categories appear in the category dropdown when creating or editing blog posts.
Parent Category Selection
When creating a category, you can optionally select a parent:categorias.php
- No parent: Leave dropdown empty (creates root category)
- With parent: Select from hierarchical dropdown
Editing Categories
Deleting Categories
Database Table
Table Name:categoria-servicios
| Column | Type | Description |
|---|---|---|
id | integer | Primary key |
name | text | Category name |
id_padre | integer | Parent category ID (nullable) |
categoria_blog | boolean | Blog category flag |
created_at | timestamptz | Creation timestamp |
Module Integration
Categories are used by:- Content (
contenido) - Organize content items - Blog (
posts) - Classify blog posts - Clients (
clientes) - Group clients by industry/type - Projects (
Proyectos) - Categorize project types - Testimonials (
testimoniales) - Organize testimonials by category
Pagination
categorias.php
Best Practices
Next Steps
Content
Use categories in content management
Blog
Apply categories to blog posts