Support FAQ Plugins Changing the default path
Changing the default path PDF Print E-mail
FAQ - Plugins
Wednesday, 12 November 2008 10:26

Changing the default path for a plugin is done via the plugin's parameters in the Group Manager

To change the path:

  1. 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.
  2. 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.

Last Updated on Monday, 03 August 2009 17:44
 

Search

Tweets

  • JCE

    JCE 1.5.8 beta3 released to subscribers - http://bit.ly/b71fEJ - Users of beta3 can upgrade using the Updater in the JCE Control Panel!

    Tuesday, 24 August 2010 15:18

  • JCE

    JCE 1.5.8 beta 2 released to subscribers - http://bit.ly/bVYMkM

    Friday, 13 August 2010 12:26

Banner_Professional_JCE_Support_200x77

Your Account