|
Changing the default path for a plugin is done via the plugin's parameters in the Group Manager
To change the path:
- Open the Group Manager (Components->JCE Administration->Groups) and click on the 'Default' group or any other group where you would like to make this change.
- On the plugin's parameters, in the 'Standard' section, set the 'File Directory Path' to the desired path, relative to your site root. This path must be at least one level above the site root.
To change the default path for all plugins, change the 'File Directory Path' in the 'Editor Parameters->Editor Options' and clear any other path values in the individual plugin parameters.
Restricting access by path
Path values can include variables, eg: $id = user ID, $username = username, $usertype = user type (eg: author), $group = JCE group user is assigned to. By adding a variable to a path it is possible to restrict access to a specific folder for users, usertypes or groups. For example, images/stories/$usertype/$username would restrict the Author with the username joeblogs to images/stories/author/joeblogs
The following words cannot be used as the root (first folder name) in any path: administrator, cache, components, includes, language, libraries, logs, media, modules, plugins, templates, xmlrpc
eg: media/images/stories or templates/images are not permitted.
|