Thegraphic charter workshop lets you customize a graphic charter based on a template.
Click on the button Graphic design workshop button in the Integrator tab tab to open the tool.
When opening the tool, several cases may arise:
If the current site charter is not based on a template, the graphic charter workshop cannot be used.
You will be warned by a pop-up window:
If the graphic charter has never been edited using the graphic charter tool, there is no saved working version of this charter.
A working version is created from a copy of the production chart (skins directory), and the tool is opened directly.
In this case, you have the choice of starting from this last working version or deleting all modifications.
If you choose to delete all changes, a new working version will be created from a copy of the saved working version or from a copy of the production chart.
In this case, it is proposed to :
- resume your unsaved changes,
- abandon your changes by working from the last backup
- delete unsaved changes and work from a copy of the production chart.
Two people can't use the tool at the same time, as this will overwrite each other's modifications.
If the graphic charter appears to be locked by another user, you are warned by a pop-up window.
You have the option of recovering write access to the chart and opening the tool anyway.
The charter can be locked by another user if the latter has left the tool without saving during its last use. Refer to the date of the last modification to judge whether this user is actually using the tool.
If you choose to recover write rights, while the other user is using the tool at the same time, all his modification attempts will now be refused:
The number of buttons available in the ribbon, and their organization, depends on the template from which the graphic design is derived.
In fact, each template defines the charter elements that can be modified in the workshop: images, colors, font size, text, etc., as well as their organization in the ribbon (tabs, groups, menus, submenus). See page Creating and setting up a template
Above is an example of the Ametys demo chart. Customizable elements are organized in 5 tabs according to their region in the graphic charter: header, menu, vertical menu, content, page and footer.
The center of the tool is a direct preview of the site with the modifications made to the graphic charter. You can navigate through your site to view changes on all pages.
The"Actions" tab is common to all charters.
This action applies all the changes made to the production version.
Make sure you have checked all your new graphics before taking this action. All sites using this graphic charter will be affected.
A backup of the current charter is always made before changes are applied in production.
Backups are stored in the WEB-INF/data/skins/backup/[nom_skin] directory. Contact your system administrator to retrieve a backup.
Up to 5 backups can be stored for each graphic chart (beyond that, the oldest backups are deleted).
This action saves your current changes. You can choose to close the tool to resume your modifications later.
No changes are made to the version of the charter in production as a result of this action.
This action cancels current modifications.
This menu is used to select the default language from among those available for the site.
The language selected here is the default language proposed in the text type parameters with a translation for each language (see Text type parameters i18n).
This is also the language used to preview the site in the tool.
Depending on the template used, 0 to n color themes are available.
Select the color theme you wish to apply to your chart from the"Color themes" menu.
So, for any color setting, you can choose from the colors of the current theme or from other defined colors.
|
The list of available themes and their colors, as well as the colors available, are those in the model/colors file .xml of the model defined by the integrator.
When a theme is changed, all color settings with a theme color are affected.
Example 1: you choose the 3rd color of theme A for the title of your items. If you then choose theme B, the color of the item title corresponds to the 3rd color of theme B.
Example 2: You choose a color #B54FA6 from "Other colors" for the title of your articles. If you then choose theme B, the title color will still be #B54FA6.
Example 3: You choose a custom color #C5D4B1 for the title of your articles, neither in the theme nor in the other available colors. If you then choose theme B, the title color will still be #C5D4B1.
Depending on the charter model used, 0 to n design ideas are proposed.
The design ideas are variations on the template used. A variation might involve a different color theme and banner, for example.
Select a variation to apply to your charter from the"Design ideas" menu.
The example below illustrates the transition from the "Clear" to the "Red" declination of the model in the Ametys demo application:
The "Template" menu allows you to use another template for your chart. Simply select another template from the existing ones.
When switching from one model to another, you have the choice of applying the model's default parameters or retaining the parameter values common to both models.
Illustration using the transition from the "Ametys web CMS Meeting" template to the "CMS Java open source" template: color, size and font information are retained. |
---|
Illustration with the transition from the "Ametys web CMS Meeting" model to the "CMS Java open source" model: by applying the model's default parameters |
---|
As the 2 models potentially have very different parameters, a complete reload of the CMS application is required to rebuild the ribbon. Here's how.
Open the "Template" menu and click on"Reset to default values" to reset your working version to the template's default values.
Parameters represent all customizable charter elements (logo, text color, etc.).
The parameters and the level of modification they authorize depend on the charter template: one template may, for example, only allow modification of the logo and site title, while another will allow modification right down to the character spacing.
A charter template can have several types of parameters, detailed in the rest of this chapter:
These parameters can affect all style elements: font, font size, color, character styles (bold, italic, underlined), margins, background color, alignment, etc.
These parameters concern the images in the chart that can be modified.
Images are chosen from a predefined image gallery or can be downloaded from your hard drive.
Downloaded images appear in the "Custom" group.
These parameters concern the charter's internationalized texts, i.e. the texts translated into the various languages (for example: the site title).
In the ribbon, they are presented with a text field, followed by a button to select the language.
Illustration with the modification of the site title and slogan | |
---|---|
|
Variant parameters are used to modify a set of files (css, images, xsl, js, ...). They are used in slightly more complex cases, when the HTML code needs to be modified, or when a single image or css parameter is no longer sufficient.
Variants are selected from a gallery.
Illustration with side menu style modification
| |
---|---|
|
|
Text parameters are used to modify the text elements of a XSL file.
They can be used, for example, to modify a variable XSL or untranslated text contained in a XSL.