4.2.4.1. Create new web content

This function is used to add new web content to a specific site.

  1. Go to the Sites Management drive, then select a site to which you want to add web content.

  2. Select the web content folder on the left.

    Note

    In this step, you also can add new web content into another folders (documents and media folders) of a site but you are recommended to select the web content folder because:

    Managing web content of a site becomes more easily.

    You only may add new web content in this folder so that you do not need to select web content document in the list of document types. It makes adding new web content more flexibly.

  3. Click [ Add Document ] on the Action bar to open a list of content templates, including Free layout web content, and Picture on head layout web content.

  4. Select a template to present the web content by clicking one.

  5. Enter values in the fields of the Add New Document form.

  6. Click Save or Save & Close to save the content or Close to quit the Add New Document form.

Tabs in the Add New Document form

The Main Content tab

Field Description
Title The title of the web content.
Name The name of the web content that you want to add new.
Language The language of the web content. At present, eXo Platform 3.5 supports two languages: English and French.
Main Content The main content that you want to display when publishing this web content.

The Illustration tab allows you to upload an illustration that makes the site's content more attractive.

Details:

Field Description
Illustration Image The path to an image that you want to upload into a site. This image will be used like an illustration of that site.
Summary You can give a short description about the web content because it will be displayed with the illustration image when the web content is listed. The main content will be shown when it is selected to be viewed.

Upload an image

  1. Browse a list of images on your local device by clicking the Browse... button, then select a specific location.

  2. Select an image in the list to upload.

The Advanced tab includes two parts: CSS Data and JS Data.

Details:

Field Description
CSS Data Contain the CSS definition to present data in the web content. You can optionally enter CSS data into this field to specify the style.
JS Data Contain the JS content to make the web content more dynamic after being published. You can optionally enter the JS content in this field.

Copyright ©2012. All rights reserved. eXo Platform SAS