Requirements
The requirements for the use of WebEdit are described in the following documentation:
Subject | Documentation |
---|---|
System requirements and | |
Project requirements | FirstSpirit Manual for Administrators
|
Configuration | FirstSpirit Manual for Administrators
|
Browser configuration for editing editorial content | FirstSpirit Manual for Editors (WebClient)
|
FirstSpirit Manual for Administrators
| |
Adjustment of the templates
If the templates are to be used both for WebEdit and within the JavaClient (for example for a WebEdit preview), adjustments can be made within the templates to integrate controls for direct editing in the page preview. These control elements (cf. FirstSpirit Manual for Editors (WebClient)) enable the pages or certain parts of pages to be edited within the preview directly in the browser.
To this end, the format templates for the required elements must be created first in the project:
These can then be integrated in a suitable position of the page and/or section templates, e.g. in the HTML presentation channel, using the call:
$CMS_RENDER(template:"WEBeditIncludeJS")$
When specifying the UID, note upper/lower case (case sensitive). |
By adjusting the templates, the same templates can be used for the WebClient and the JavaClient.
The template adjustment must always be made for the template set configured for this project by the project administrator (cf. FirstSpirit Manual for Administrators). Either an existing template set (e.g. HTML channel) or a separate template set (e.g. WebEdit channel) can be used for WebEdit.
When adjusting the templates, make sure that the layout of the pages is correct both with the inserted controls (e.g. in the WebEdit standalone view) and in the view without controls (e.g. in a preview from the JavaClient). |
WebEdit can be used without adjusting the project templates up to FirstSpirit Version 4.0 inclusive, but is not recommended. From FirstSpirit Version 4.1 the use of WebEdit without adjusting templates is no more supported! |
The following restrictions apply:
- WebEdit mode is controlled solely using the WebEdit toolbar (i.e. changing existing data requires more work operations than using the Quick Edit bar or the WebEdit icons).
- Links may not use any explicit targets such as "_top" or "_parent".
Note about the use of variables
For the configuration of WebEdit special parameters are used in the WebEdit format templates. These must not be used as name parameter for input components and / or as variables in the project.
The following variables are concerned:
- animated
- backgroundColorHover
- backgroundColorNormal
- barOrientation
- borderColorHover
- borderColorNormal
- borderless
- content
- disableButtons
- extended
- fastMode
- guiLanguage
- height
- highlightClass
- highlightContainer
- index
- layeredMode
- loaderCss
- login
- name
- orientation
- pageRef
- password
- pure
- qbHeight
- qbOffset
- qbWidth
- script1
- script2
- script3
- scriptTooltip1
- scriptTooltip2
- scriptTooltip3
- templateId
- ticket
- tooltip
- useHover
- user
- view
- WEBeditExternal
- wfChanged
- wfDelete
- wfForce
- wfNew
- width