Knowledge Base

22

Working with configurations

The editor needs a valid configuration file and a valid toolbar file in order to work. So on loading the editor on a given page a few checks are done to determine what configuration and what toolfile to load. First of all it should be noted that config- and toolbar files are stored in the provider's directory, e.g. Desktopmodules/dnnWerk.RadEditorProvider. Configuration files are stored in the /ConfigFile subfolder and toolbar configurations are stored in the /ToolsFile subfolder there.

You can have dedicated configuration sets for four pre-defined user groups in a portal:
  • Everyone
  • Registered Users
  • Administrators
  • Hosts

where each of those group configurations can also be bound to a given page within a portal.

A typical use case for this feature would be that a registered users in a discussion forum will have a more limited toolbar set than administrators. Or think of a contact form on a portal page that you want to use the HTML editor for. That would be make a use case for an extremly limited toolbar configuration.

If you want to create a new configuration for a given group within your portal, follow the steps below:
  1. Select an existing configuration set to start with from the tree in the left column
  2. Click on Copy Selected
  3. In the option list Bind To Role select the target group that the config set is for
  4. if the config set should only be available on a given page in your portal, make sure that Bind to current Portal is unchecked, then select a page from the pages tree that is being displayed. If Bind to current Portal is checked, the config set will be valid for the whole portal. if Bind to current Portal is unchecked and no page is being selected in the pages tree, that set is valid for the whole installation, e.g. all portals in your installation.
  5. Click on Create

You can delete a configuration set by selecting it from the tree in the left column and clicking on Delete in the top toolbar. Note that you cannot delete the Everyone configuration set as this is the default set is loaded if no other set is being found.

Editor Config

Posted in: HTML Module
Actions:

Post Rating

Comments

There are currently no comments, be the first to post one.

Post Comment

Only registered users may post comments.