Sha256: 6fb4e8e713802e8650093541c4475dc9f59a2af040dcc08b4aceb568b0ad5484

Contents?: true

Size: 1.55 KB

Versions: 23

Compression:

Stored size: 1.55 KB

Contents

# Public name of this content type
name: Categories

# TODO: explain
slug: categories

# Explanation for the backoffice
description: Category of a project

# Default field (e.g title)
label_field_name: name

# Order of entries
order_by: manually # default: manually, also available: created_at or any field slug

# Order direction
# order_direction: asc # default: asc, also available: desc

# Display entries grouped by <field> in the backoffice
# group_by: <your field>

# Activate public 'create' API (e.g for a contact form)
# public_submission_enabled: false

# Emails to be notified on new entries using the public API
# public_submission_accounts: ['john@acme.net']

# Describe each field. The name shoud always be an underscored string
fields:
- name: # Name of the field
    label: Name
    type: string
    required: true
    hint: A description of the field for the editors
    localized: false

- description: # Name of the field
    label: Description
    type: text
    required: false
    hint: A description of the field for the editors
    localized: false
    text_formatting: html

- projects: # Name of the field
    label: Projects
    type: has_many
    required: false
    hint: A description of the field for the editors
    localized: false    # Define the slug of the target content type (eg. comments)
    class_name: projects
    # Define the name of the field referring to Categories in the target content type (eg. post)
    inverse_of: category
    # If you want to manage the entries of the relationship directly from the source entry
    ui_enabled: true

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
locomotivecms_wagon-2.0.0.rc3 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-2.0.0.rc2 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-2.0.0.rc1 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-2.0.0.pre.beta.2 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-1.5.8 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-2.0.0.pre.beta.1 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-1.5.7 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-1.5.6 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-2.0.0.pre.alpha.3 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-2.0.0.pre.alpha.2 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-2.0.0.pre.alpha.1 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-2.0.0.pre.alpha generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-1.5.5 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-1.5.4 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-1.5.3 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-1.5.2 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-1.5.1 generators/line_case/app/content_types/categories.yml
locomotivecms-search-0.3.6 spec/wagon/app/content_types/categories.yml
locomotivecms_wagon-1.5.0 generators/line_case/app/content_types/categories.yml
locomotivecms_wagon-1.5.0.rc1 generators/line_case/app/content_types/categories.yml