Configuration

Once installed, Fluidity's configuration is entirely managed in a PHP array.

Create a file called config.fluidity.php in your system/user/config folder. It will need to adhere to the following format:

<?php

return [
    // Would you like Fluidity to check to see if there are updates?
    'checkForUpdates' => true,

    // By default it will show the field's icon.
    // This is a global setting which can be disabled on a
    // per-field basis in the advanced config.
    'showIcons' => true,
    
    // This is where you organize your fields into groups.
    'fields' => [
    
        // You will need the field ID, which you can find when
        // viewing the admin.php?/cp/fields page.
        1 => [
        
            // Give the group a friendly label
            'Group Label' => [
            
                // and finally all the fields you want to display in this group.
                'field_short_name',
                'another_field,
            ],
        ],
    ],
];
        

The following is an example of the advanced configuration. You can override the field's label, add a description, override it's default icon, or even choose which image to display in the preview pop-up.

You can optionally go with a basic config if you simply want to group fields and not override the field name, add a description, icon, or preview image.

Since this is a PHP array, you can dynamically configure your field:

Last updated

Was this helpful?