Config


Introduction

Browse through Neutrino's config to get familiar with all the things it provides to the CMS.

Some of the basic config options are things like

  • Pagination settings
  • Ordering
  • Media manager image sizes
  • Routes and formats
    'multilingual' => [
        'enabled' => false,
        'default' => 'en',
        'locales' => [
            'en',
        ],
    ],

    'pagination_limits' => [
        'default' => 20,
        'entries' => 20,
        'post' => 20,
        'pages' => 20,
        'taxonomies' => 20,
        'events' => 20
    ],

    'ordering' => [
        'default' => [
            'order' => 'title',
            'sort' => 'asc'
        ],
        'entry_types' => [
            'default' => [
                'order' => 'title',
                'sort' => 'asc'
            ],
        ],
        'entries' => [
            'default' => [
                'order' => 'created_at',
                'sort' => 'desc'
            ],
        ],
        'taxonomies' => [
            'default' => [
                'order' => 'title',
                'sort' => 'asc'
            ],
        ],
        'taxonomy_entries' => [
            'default' => [
                'order' => 'created_at',
                'sort' => 'desc'
            ],
        ]
    ],

    'media' => [
        'image_sizes' => [
            'large' => 2000,
            'medium' => 1200,
            'small' => 600,
            'thumb' => 280,
        ],
        'thumb_crop' => 'square',
    ],

    'calendar_date_format' => '',

    'protected_route' => 'login',

    'storage' => [
        'filesystem' => 'public'
    ],

    'default_register_role' => 'guest',
    'default_register_redirect' => '/',