Once the article is created, users can add or remove article components manually when needed. Adding an article component in the Print editor is done by choosing it from a list.
Figure: Adding an article component in the Print editor of Studio.
The following can be configured:
- Which article components are available in the list and in which order
- Which paragraph style should be applied to the text when a component is added
- If an article component can be added only once or multiple times
Configuration is done in Studio Server and can be made to work across all Brands and/or to work across specific Brands.
Configuring article components is done in the Studio Management Console.
The Management console is made available through the Studio Server plug-in.
Accessing the Management console
Log in to Studio Server using an admin account, open the Integrations page and click the Studio icon. The Management console is shown. From the menu on the left, choose 'Article components'.
The Article components page
The Article components page contains a list of the Brands that are available in Studio Server and the article components that have been configured for each Brand (if any).
Note: When loading the page for the first time, the information for the components section is loaded from the componentDefs.xml file (in <Studio Server path>/config).
This data is subsequently stored in the Studio Server database. Any changes made on the page are therefore also stored in the database and will not be reflected in the componentDefs.xml file.
Configuring the available article components
For each Brand you can configure which article components appear in the list when a user clicks the option to add a component.
Each Brand by default makes use of the components of the Global Brand unless specific components are assigned to it.
Use one of the following methods:
- Create a component manually by clicking 'Add new' at the bottom of the page (or when the page shows that global components are used, click 'Add a new component' in the message on the page.
- Copy all components from another Brand by accessing a Brand for which no components have been created yet and clicking 'Copy from another Brand'
- Copy components to another Brand by selecting one or more components in a Brand and clicking 'Copy to...' .
Select a component and click Delete.
Click on a name to edit it.
Click a component, hold it, and move it to the new position.
Note: The order in which the components are arranged not only controls the order in which they appear in the list for adding a component to an article, but also controls the order of components when a new Print article is created by converting a Digital article.
Setting the paragraph style
Each component will typically display text in a specific style.
Example: The text in a header component will look different than the text in a sub-header or body component.
For each component you can define which paragraph style should be automatically applied to the text when the component is added. This makes sure that:
- The correct styling is used
- Users do not have to assign the paragraph style manually
Add the paragraph style to a component by clicking the Paragraph style field and typing the name of the style.
Note: The spelling of the name should be identical to the name as it exists in the article (apart from the use of upper and lower cases: this is not checked).
Tip: Include the group name when the style is placed in a style group: My Style Group/style name.
Controlling how many times a component can be added
Some components should only exist once in an article while other components typically occur multiple times.
Example: An article typically has one header component and multiple body and graphic components.
To control this, enable or disable the option 'Allow more than once'. When enabled, the component will remain available in the list for a user to add; when disabled the component will not appear in the list when it is already available in the article (for example after adding it).