JBoss.orgCommunity Documentation

Chapter 5. Advanced Actions

5.1. Set Up a Website
5.1.1. Create a new site
5.1.2. Edit a Site
5.1.3. Switch between sites
5.1.4. Delete a site
5.2. Manage Site Resources in one place
5.2.1. CSS Folder
5.2.2. Document Folder
5.2.3. JS Folder
5.2.4. Links Folder
5.2.5. Media Folder
5.2.6. Web Content Folder
5.3. Sites Administration
5.3.1. Ontology
5.3.2. Content Presentation Manager
5.3.3. Types of Content
5.3.4. Advanced Configuration

This function allows you to create a site (portal) to meet your own needs.

Do as follows:

Procedure 5.1. 

  1. Click Site on the administration bar.

  2. A list of existing portals will be listed. Click the Add New Portal button to open the Add new portal form:

    The add new portal form appears:

  3. In the Portal Template tab, select Classic Portal or ACME Template for the new portal.

  4. Click the Portal Setting tab to set some properties for this site:

    (*): required


  5. Keep session alive by clicking the Properties tab.

    The Keep session alive option means keeping the working session for a long time to avoid the working time out. There are 3 options:

  6. Set access and edit permission for this portal by clicking the Permission Setting tab.

    The Permission Setting tab includes two subtabs: Access Permission Setting and Edit Permission Setting.

  7. Click Save to accept creating a new portal.

After creating a new site, a list of the existing sites will be displayed on the screen. This new site will be added in the exiting sites in Site on the administration bar and concurrently in a drive that includes all its default files.

To see it in the drive, click Group | Sites Explorer | Drive on the administrator bar.

For example, after creating a portal named 'eXo', there is a drive named 'eXo' in Sites Explorer:

This function helps you edit a site (portal). In addition to editing properties (setting, access/edit permission) of a site like a portal, you also may edit the layout components of that site.

You have two modes:

To edit a site, do the following steps:

The layout of Edit Website:

You can only edit a banner, a navigation bar, a breadcrumb bar, a homepage and a footer of a website.

Procedure 5.3. Edit Banner

  1. In WCM, the banner is divided into two parts: a left banner and a right banner. You can edit both of them.

    Show the form to edit a banner by:

    • Switch on the Edit Status on the homepage and click the edit button on the homepage as this illustration below:

    or

    • Click the icon at the right corner of the classic - banner portlet (for the left banner) or classic- access portlet (for the right banner) in the Edit Portal form.

    A form to edit the current banner will appear:

    Edit Left Banner

    Edit Right Banner


  2. Change values in the Main Content tab of the edit banner form to edit the web site's banner.

  3. Complete editing the site's banner and publish the content on the banner by clicking the Fast Publish button.

  4. If you just want to save the edited content as a draft, click Save Draft.

  5. To set some properties for the current content, click the Preferences button. The Setting form will appear as you can see below. Change the information in this form and then click Save to save settings.

You can easily manage all the site resources in Sites Explorer.

Chose in General drive. All of your created sites and their resources will be listed in the left panel.

All sites contain typical folders that are site resources:

This page is used to manage all workspaces, drives, node types, metadata, templates, queries, etc. Only administrator like ''root” can access the WCM Administration.

This page offers access to:

The Folksonomy allows you to manage tag styles. The tag style will be changed depending on the number of documents in a tag.

Go to Sites Administration, then Ontologies, and finally, Manage Folksonomy.

Perform the step in Adding a Taxonomy Tree to add a taxonomy tree.

Procedure 5.11. Adding a Taxonomy Tree

  1. Step One

    Click the Add Taxonomy Tree button to add a new taxonomy. The Add taxonomy tree form will appear.

  2. Step Two

    Enter the taxonomy tree name in the Name field. (*Required).

  3. Step Three

    Select the workspace you want to work with.

  4. Step Four

    Select the home path by clicking the plus item. The Select Home Path form will appear:

  5. Step Five

    Click the tick icon if you want to select the root path or click the arrow icon to go to the up level path. Click the plus sign to expand the folder.

  6. Step Six

    Click the tick icon corresponding to the path that you want to select as a home path.

    Click Reset if you want to reset values that have just been selected or Next to select permissions for a taxonomy tree.

  7. Step Seven

    Click the icon to select a user or the icon to select memerships or the icon to select everyone in order to set permissions. The user or memership that you have just selected will be displayed in the User or Group field.

    Then, check at least one of these below options to set rights for the selected user to membership:

    Read Right

    The option is to select the read right or not.

    Add Note Right

    The option is to select the Add Node right or not.

    Set Property Right

    The option is to select the Set Property Right or not.

    Remove Right

    The option is to select the Remove right or not.

  8. Step Eight

    Click Save to save all values, or Reset to change values that have just been set. After clicking Save, click Next to go to the next step.

  9. Step Nine

    Enter the name for an action of the taxonomy tree in the Name field. (*Required).

  10. Step Ten

    Select values for Lifecycle, NodeTypes, Target workspace, Target path, Affected Node Types. (*Required).

  11. Step Eleven

    Click Save to save all values and, click Next to go to the next step.

To create a node in WCM, this node must set its properties. Thus, each node needs to have a form for entering data for their properties (called the dialog template), and displaying 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.


Procedure 5.14. Edit a Template

  1. Go to the Manage Templates form

    Click Sites AdministrationContent PresentationManage Templates

  2. Open the View and Edit Template form

    Click the Pencil icon in the Action column corresponding to the template you want to edit.

  3. Edit the Template tab

    In the Template tab, you can edit the Label of the Template.

  4. Add a dialog to the Dialog tab

    To add a dialog, do the following:

    1. Input content for this dialog in the ' Content ' field.

    2. Input name for this dialog. (*Required).

    3. Select permissions for a group that can use this dialog. (*Required).

  5. Edit an existing dialog in the Dialog tab

    To edit an existing dialog, do the following:

    1. Click the Pencil icon in the dialog row you want to edit.

    2. Edit the dialog properties.

    3. Click Save to accept all changed in the Dialog tab.

  6. Delete an existing dialog

    To delete an existing dialog, do the following:

    1. Click the Trash Can icon in the dialog row you want to edit.

    2. Click OK to continue with deletion.

    Note

    You can not delete the default dialog. You must create a new one before you can delete the current default dialog.

  7. Add a View to the view tab

    To add a view, do the following:

    1. Click the View tab and enter content into the content field.

    2. Input name for this view. (*Required).

    3. Select permissions for a group that can use this view. (*Required).

  8. Edit an existing view in the View tab

    To edit an existing view, do the following:

    1. Click the Pencil icon in the view row you want to edit.

    2. Edit the view properties.

    3. Click Save to accept all changed in the View tab.

    Notes about Editing Views

    You can not change the view name.

    If you click is Enable Version checkbox, this view automatically increments one version after you click Save. It is displayed at ' version' column in the View tab.

    If the dialog has at least two versions, in the View tab, it displays the Restore button. You can use Restore to roll back to the previous View.

  9. Delete an existing dialog in the Dialog tab

    To delete an existing dialog, do the following:

    1. Click the Trash Can icon in the dialog row you want to edit.

    2. Click OK to continue with deletion.

    3. Click Save to accept all changes.

The function Manage View is used to control view ways of a user. It has 3 tabs: View, ECM Templates and BC Templates tabs.

To open the Manage View function, click Sites AdministrationContent PresentationManage View. The Manage View form displays.


Views Tab

The procedures that follow describe how to Add, Edit, Delete, and Preview views.

The function is used to manage drives in the File Explorer. It allows adding, editing and deleting drives.

Go to Sites Administration, then Content Presentation, and finally Manage Drives.

Use the Add A New Drive to add a new drive.

Procedure 5.29. Add A New Drive

  1. Step One

    Click the Add Drive button in the Manage Drives form to open the Add Drive form.

  2. Step Two

    Input a name for the new drive in the Name field. (*Required).

  3. Step Three

    Select a workspace for the drive. There are 4 available workspaces: system, collaboration, backup, and dms-system.

  4. Step Four

    Select the home path for the drive by clicking the icon

  5. Step Five

    Click the icon to select the home path.

  6. Step Six

    Select an icon for the workspace by clicking the

  7. Step Seven

    Click to select an icon file:

  8. Step Eight

    Select permissions for groups that have access rights to this drive by clicking the icon.

  9. Step Nine

    Select or unselect the various checkboxes to hide or show the corresponding drive elements:

    Show referenced document

    Allows viewing preference documents.

    Show non-document

    Allows viewing non-documents.

    Show sidebar

    Allows showing the sidebar.

    Show hidden node

    Allows showing the hidden nodes.

  10. Step Ten

    Select the document type that will be created in this drive:

    Folder

    Only nt:folder folders can be created in this drive.

    Unstructured folder

    Only nt:unstructured folders can be created in this drive.

  11. Step Eleven

    Click to select a node type. The Select node types form will appear:

    Enter a node name to search for in the Node type name field and click the to begin searching.

    All the node types matching the search string will appear in a list below.

    Check the box correpsonding to the desired node type in the Select column, or click the beside Choose all node types to select all results.

    If you click the icon, the Allowance nodetype on left tree becomes a required field (indicated by an asterix '*')

    Click the if you want to remove the selected nodetype.

  12. Step Twelve

    Select the Apply Views tab and select the view type you want to be available in the drive:

  13. Step Thirteen

    Click Save to commit the details and create the new drive, Refresh to clear the form or Cancel to abort the operation.

The function is used to manage queries. It allows adding, editing and deleting queries.

Go to Sites Administration | Advanced Configuration | Manage Queries.

The function allows users to manage all script codes in the WCM and Browser Content system.

Go to Sites Administration | Advanced Configuration | Manage Scripts.

Details:

The BC Scripts tab: