Content Controller
Meta_Content
Trait for managing meta content and settings in a content management system
The Meta_Content
trait provides functionality for managing various meta content and settings, including menus, landing page settings, languages, and colors.
Main Methods
main_menu()
Manages the main menu items of the website.
Key Features
- CRUD operations for main menu items
- Includes visibility settings and ordering
- Links to sub-menu management
sub_menu($id)
Manages sub-menu items linked to a main menu item.
Key Features
- CRUD operations for sub-menu items
- Includes visibility settings and ordering
lp_settings()
Manages landing page settings.
Key Features
- Controls intro text, top video, and marquee settings
- Handles file uploads for marquee images
languages()
Manages language settings for the website.
Key Features
- CRUD operations for language entries
- Includes fields for name, short name, and ISO code
colors()
Manages color settings used throughout the website.
Key Features
- CRUD operations for color entries
- Includes a color picker for selecting hex values