Content Management

Learn how to create, edit, and manage posts, pages, categories, and tags in LaraDashboard's content management system.

Content Management

LaraDashboard provides a powerful content management system for creating and organizing posts, pages, and custom content types with categories, tags, and SEO optimization.

Content Types

Posts

Blog posts and articles with:

  • Title and content
  • Categories and tags
  • Featured image
  • Author attribution
  • Publication scheduling

Pages

Static pages with:

  • Hierarchical structure (parent/child)
  • Custom templates
  • Visual builder support
  • SEO metadata

Custom Post Types

Modules can register additional content types following the same patterns.

Creating Content

Creating a Post

  1. Navigate to PostsAdd New
  2. Enter the post title
  3. Add content using the editor
  4. Configure post settings:
Title: Your Post Title
Slug: your-post-title (auto-generated)
Status: Draft / Published / Scheduled
Author: Select author
Published Date: Schedule future publication
  1. Add taxonomy:

    • Select categories
    • Add tags (comma-separated or individual)
  2. Set featured image:

    • Click Set Featured Image
    • Upload or select from library
    • Click Use Image
  3. Click Publish or Save Draft

Creating a Page

  1. Navigate to PagesAdd New

  2. Enter the page title

  3. Choose editor type:

    • Classic Editor - Standard rich text
    • Visual Builder - Drag-and-drop blocks
  4. Configure page settings:

Title: About Us
Slug: about-us
Status: Published
Parent: None (or select parent page)
Template: Default (or custom template)
  1. Add content and publish

Content Editor

Rich Text Editor

The classic editor provides:

Feature Description
Formatting Bold, italic, underline, strikethrough
Headings H1-H6 heading levels
Lists Ordered and unordered lists
Links Insert and edit hyperlinks
Media Embed images and videos
Code Inline code and code blocks
Tables Create and edit tables
Source Edit HTML directly

Editor Toolbar

┌──────────────────────────────────────────────────────────────┐
│ B  I  U  S  │ H1 H2 H3 │ • ≡ 1. │ 🔗 📷 📹 │ < > │ ⟳ ⟲ │
├──────────────────────────────────────────────────────────────┤
│                                                              │
│  Start writing your content here...                          │
│                                                              │
│                                                              │
└──────────────────────────────────────────────────────────────┘

Keyboard Shortcuts

Shortcut Action
Ctrl/Cmd + B Bold
Ctrl/Cmd + I Italic
Ctrl/Cmd + U Underline
Ctrl/Cmd + K Insert link
Ctrl/Cmd + Shift + 1-6 Heading level
Ctrl/Cmd + S Save

Media Insertion

  1. Click the image icon or drag file into editor
  2. Select from Media Library or upload new
  3. Set alt text and alignment
  4. Insert into content

Visual Builder (LaraBuilder)

For complex layouts, use the visual builder.

Accessing the Builder

  1. Create or edit a page
  2. Click Use Visual Builder
  3. The builder interface loads

Builder Interface

┌─────────────────────────────────────────────────────────────────┐
│  Toolbar: Save | Preview | Settings | Undo | Redo              │
├─────────────────┬───────────────────────────────────────────────┤
│                 │                                               │
│   Block         │   Canvas (Drop Zone)                          │
│   Library       │                                               │
│                 │   ┌─────────────────────────────────────┐    │
│   ├── Layout    │   │  Hero Section                       │    │
│   ├── Text      │   │  Drag blocks here                   │    │
│   ├── Media     │   └─────────────────────────────────────┘    │
│   ├── Forms     │                                               │
│   └── Custom    │   ┌─────────────────────────────────────┐    │
│                 │   │  Content Block                       │    │
│                 │   │                                      │    │
│                 │   └─────────────────────────────────────┘    │
│                 │                                               │
└─────────────────┴───────────────────────────────────────────────┘

Available Blocks

Category Blocks
Layout Columns, Section, Container, Spacer
Text Heading, Paragraph, Rich Text, Quote
Media Image, Gallery, Video, Icon
Interactive Button, Link, Accordion, Tabs
Forms Form, Input, Select, Checkbox
Advanced HTML, Code, Embed

Working with Blocks

  1. Add Block: Drag from library to canvas
  2. Configure: Click block to open settings panel
  3. Reorder: Drag blocks to reposition
  4. Duplicate: Click duplicate icon
  5. Delete: Click trash icon or press Delete

Block Settings

Each block has configurable options:

  • Content - Text, images, links
  • Style - Colors, spacing, fonts
  • Advanced - CSS classes, custom attributes

See LaraBuilder Documentation for complete guide.

Categories & Tags

Managing Categories

Categories provide hierarchical organization:

  1. Navigate to PostsCategories
  2. View existing categories
  3. Click Add New Category
Name: Technology
Slug: technology (auto-generated)
Parent: None (or select parent)
Description: Posts about technology trends

Category Hierarchy

Categories support parent-child relationships:

News
├── Local News
├── World News
└── Business News
    ├── Startups
    └── Markets

Managing Tags

Tags provide flat, flexible labeling:

  1. Navigate to PostsTags
  2. Click Add New Tag
Name: Laravel
Slug: laravel
Description: Posts about Laravel framework

Assigning Taxonomies

When editing content:

  1. Categories: Check boxes in sidebar
  2. Tags: Enter comma-separated or click to add

Bulk Managing Taxonomies

  1. Select multiple items
  2. Choose Edit from bulk actions
  3. Modify categories/tags
  4. Apply changes

Post Status

Available Statuses

Status Description
Draft Work in progress, not visible
Published Live and visible
Scheduled Will publish at set date/time
Private Only visible to admins
Trash Soft-deleted, recoverable

Scheduling Posts

  1. Edit post
  2. Set status to Scheduled
  3. Select publish date and time
  4. Save changes

The post will automatically publish at the scheduled time.

Draft Workflow

  1. Create as draft
  2. Edit and preview
  3. Submit for review (if workflow enabled)
  4. Publish when ready

Featured Images

Setting Featured Image

  1. Edit post/page
  2. Click Set Featured Image in sidebar
  3. Upload new or select existing
  4. Click Use Image

Image Requirements

  • Recommended Size: 1200x630px (social sharing optimal)
  • Formats: JPG, PNG, WebP
  • Max Size: 10MB (configurable)

Automatic Conversions

LaraDashboard automatically creates:

  • Thumbnail (150x150)
  • Medium (300x300)
  • Large (1024x1024)
  • Social share (1200x630)

SEO Settings

Per-Post SEO

Configure SEO for each piece of content:

SEO Title: Custom title for search engines
Meta Description: 155 character description
Focus Keyword: Primary keyword to target

SEO Preview

See how your content appears in search results:

┌────────────────────────────────────────────────────┐
│ Your Post Title - Site Name                        │
│ https://yoursite.com/post-slug                     │
│ Your meta description appears here. It should     │
│ be compelling and under 155 characters.           │
└────────────────────────────────────────────────────┘

Social Sharing

Configure Open Graph and Twitter Cards:

  • OG Title - Title for social shares
  • OG Description - Social share description
  • OG Image - Custom social image

Content Search

Basic Search

Use the search box to find content:

  • Searches title and content
  • Filters as you type
  • Shows matching results

Advanced Filters

Filter content by:

Filter Options
Status All, Published, Draft, Scheduled
Author All users or specific
Category All or specific category
Date Date range

Bulk Selection

  1. Use checkboxes to select items
  2. Click Select All for current page
  3. Apply bulk actions

Revisions

Auto-Save

Content is automatically saved:

  • Every 60 seconds while editing
  • When switching tabs
  • Before closing browser

Revision History

View previous versions:

  1. Edit content
  2. Click Revisions tab
  3. Compare versions
  4. Restore if needed

Restoring Revisions

  1. Select the revision to restore
  2. Click Restore This Revision
  3. Review changes
  4. Save or publish

Content Permissions

Who Can Create

Controlled by permissions:

  • posts.create - Create new posts
  • pages.create - Create new pages

Who Can Edit

  • posts.edit - Edit any post
  • posts.edit_own - Edit only own posts

Who Can Publish

  • posts.publish - Change status to published

Who Can Delete

  • posts.delete - Delete any post
  • posts.delete_own - Delete only own posts

Import/Export

Exporting Content

  1. Go to content list
  2. Click Export
  3. Select format (JSON, CSV, XML)
  4. Choose fields to include
  5. Download file

Importing Content

  1. Go to content list
  2. Click Import
  3. Upload file
  4. Map fields
  5. Review and import

Supported Formats

  • JSON - Full data with relationships
  • CSV - Flat data, good for spreadsheets
  • XML - WordPress export format compatible

Best Practices

Content Organization

  • Use categories for broad topics
  • Use tags for specific subjects
  • Maintain consistent naming
  • Limit category depth to 2-3 levels

SEO Optimization

  • Include focus keyword in title
  • Write compelling meta descriptions
  • Use descriptive URLs
  • Optimize images with alt text

Media Management

  • Compress images before upload
  • Use descriptive file names
  • Add alt text for accessibility
  • Organize in folders/galleries

Workflow

  • Draft → Review → Publish workflow
  • Schedule content in advance
  • Use preview before publishing
  • Maintain editorial calendar

Troubleshooting

Content Not Saving

  1. Check for validation errors
  2. Verify session is active
  3. Check server error logs
  4. Clear browser cache

Images Not Displaying

  1. Verify storage symlink:
    php artisan storage:link
    
  2. Check file permissions
  3. Verify URL path is correct

Search Not Finding Content

  1. Clear and rebuild search index
  2. Check if content is published
  3. Verify search permissions

Next Steps

/