For support issues please visit https://jira.deiser.com/support
One of the main new elements that the version 2.0 includes is the possibility of managing custom templates by updating the native Confluence code.
The templates list will be shown by clicking on the option "EA Connector for Confluence | Templates" in the main Extensions menu.
We'll be able to perform three actions over the templates from the templates' list:
We'll create a new template based on the code of the selected template but including the changes that we'll make on it.
This action enables the modification of the current template.
This option removes the selected template from the database.
The default template only can be copied.
Copying and deleting templates
The template's edit form contains the following elements:
- Template's data
The template's name and description will be located on the top of the screen.
- Sub-templates tree
This control shows the different sub-templates that compose the hole code of the add-in's publications. By selecting on any sub-template its code will appear in the text box on the right of the screen.
- Show default template's button
By clicking this button a new text-box that contains the sub-template's default code will be shown. This code won't be editable.
- Save and cancel template buttons
By clicking on the save button the changes will be saved on the selected template if the template is being edited or on a new template if "copy" was the selected option. The cancel button will restore the last saved version of the sub-template.
Customizing the Confluence's code
The sub-templates code's format is based on a native Confluence's language called Storage. However this language is similar to HTML it still has many features that the user should know before updating the templates code. Source Editor is a really useful Confluence's add-in that let the user to work on the Storage code directly.
Choosing a custom template
This section has been included in order to let the users choose the template that will provide the format of the publications. The default template will appear by default.
Clicking on the "Edit template" button the template's edit form will appear to modify the selected template. The default template can't be modified.