Pixel & Tonic

FieldFrame

version works on rated
1.4.3 EE1
Download Get Help

Overriding Your Fieldtypes Folder Path and URL Settings

FieldFrame allows you to override your Fieldtypes Folder Path and URL settings right in your system’s config.php file. This can be handy if you’re using the same database on multiple web servers, and these settings differ on each (e.g. local development and production).

To take advantage of this, simply open system/config.php and add the following two lines:

$conf['ft_path'] = '/path/to/system/extensions/fieldtypes/';
$conf['ft_url'] = '/system/extensions/fieldtypes/';

It is worth noting that, while FieldFrame will automatically add a trailing slash to these settings when you save them from FieldFrame’s extension settings, it’s up to you to ensure a trailing slash is present if you go this route.