JBoss.orgCommunity Documentation

Manage a template

When creating a node in eXo Platform, you must set its properties. Thus, each node needs to have a form to enter data for their properties (called the Dialog template), and display the existing values (called the View template). The template management allows users to view, delete and modify the predefined templates or to add a new template.

Add a new template

  1. Click Content Presentation --> Manage Templates.

  2. Click the Add button in the Manage Templates form to open the Template Form.

  3. Select the template type from the Name drop-down menu.

  4. Specify a name for the template in the Label field. It is required.

  5. Select the is Document Template checkbox if you want your created template to become a template for a document.

  6. Click next to the Permission field to open the Select Permission dialog. It is required.

  7. Optionally, select the Dialog tab and enter the value in the Dialog Content field.

  8. Optionally, select the View tab and enter the value in the View Content field.

  9. Optionally, select the CSS tab and enter the value in the CSS Content field.

  10. Click Save to create the template.

Edit a template

  1. Click Content Presentation --> Manage Templates.

  2. Click in the Action column, corresponding to the template you want to edit.

  3. Make changes on the values of each tab, including:

Delete a template

  1. Click trash can corresponding to the template you want to remove in the Manage Templates page.

  2. Click OK in the confirmation message to accept your deletion.