johnnyxlemonade/admin-cms-content-types

Lemonade CMS Content Types

Create a content type such as case studies or FAQs in the back office. Add fields and rules, then start creating entries without a new PHP class or database table.

What it does

Fields to fit your content

Reorder fields and set their type, help text, default value and validation. Text fields can hold a different value for each language.

  • Text, number, date and choice fields
  • Images, galleries and files
  • Value checks on save and publication
  • A list and editor for every active type

An editor for each type

Active types appear in the admin menu with their own table and editor. Entries can be saved as drafts, published and restored after deletion.

Images and files

Add an image, gallery or files field. You can also enable a record thumbnail, gallery and attachments separately. Repeating field groups and relationships between entries are not available yet.

In practice

In practice

Create a Case Studies type with a title, description and image. Mark the fields you need as required; once the type is active, it gets its own list and editor.

Installation

Installation

Install the package with Composer. Its README covers any migrations and permission setup.

COMPOSER
composer require johnnyxlemonade/admin-cms-content-types:dev-main

Required packages

  • johnnyxlemonade/framework
  • johnnyxlemonade/admin-platform
  • johnnyxlemonade/cms-core