Configuration

Create a follow.php file in your /config directory. This will allow you to use the following options. You can also use multi-environment options to change these per environment. The defaults are shown below.

return [
   '*' => [
      'allowedElementClasses' => [
         'craft\elements\User',
         'craft\elements\Tag',
         'craft\elements\Category',
         'craft\elements\Entry'
      ]
   ]
];

# Available Options

Option Type Description
allowedElementClasses array Security feature to allow only certain elements to be followed

# Control Panel

Some options might be customisable within the control panel by going to Settings → Strava Sync.