46 Enabling Blog Components

This chapter provides instructions for enabling the blog components your content providers will need to access in order to create blog content. It also provides instructions for creating author assets.

This chapter contains the following sections:

46.1 Enabling Blog Asset Types

If you wish to use the Community Blogs module on different CM sites you must enable the blog asset types on those sites. When you enable the blog asset types you can also enable their start menu items. Start menu items allow content providers to create and search for assets of the types that you enable.

To enable blog asset types

  1. Log in to the WebCenter Sites Admin interface as a general administrator.

  2. Select a site.

  3. In the tree, select the Admin tab, expand the Sites node, expand the node of the site for which you wish to enable the blog asset types, and expand the Asset Types node.

  4. Double-click Enable.

  5. In the Enable Asset Types form, select the check boxes of the blog asset types. For descriptions of the blog asset types, refer to the Oracle Fusion Middleware WebCenter Sites Developer's Guide.

  6. Click Enable Asset Types.

  7. In the start menu selection form, click Enable Asset Types.

  8. Authorize users to access the start menu items. For instructions, see Chapter 9, "Managing Access to Content Management Site Components."

46.2 Creating a Blog Tree Tab

A tree tab can be configured to display the hierarchy of blog categories and their assets.

To create a blog tree tab

  1. Log in to the WebCenter Sites Admin interface as a general administrator.

  2. Select a site.

  3. In the Admin tab, double click the Tree node.

  4. Click Add New Tree Tab.

    The Add New Tree Tab form appears.

  5. In the Add New Tree Tab form, fill in the fields:

    Figure 46-1 Add New Tree Tab Form

    Description of Figure 46-1 follows
    Description of ''Figure 46-1 Add New Tree Tab Form''

    • Title - Enter a short, descriptive name, of up to 64 characters.

    • Tooltip - Enter a short, informative description of the tab, up to 255 characters. This description is displayed when a user mouses over the tab.

    • Site - Select the sites that will display this tab. The blog asset types must be enabled on these sites. For instructions, see Section 46.1, "Enabling Blog Asset Types."

    • Required Roles - Select the roles a user must be assigned to access this tab.

    • Tab Contents - Select the asset types that will be displayed on the tab and then click Add Selected Items.

    • (Optional) If you want to add custom functionality to this tab, use the Section Name and Element Name fields. For more information, see the Oracle Fusion Middleware WebCenter Sites Developer's Guide.

  6. Click Save.

    The Information page for the newly created blog is displayed.

    Additionally, the new blog tab is displayed in the tree (refresh your browser, if necessary).

    Figure 46-2 Tree Showing New Blog

    Description of Figure 46-2 follows
    Description of ''Figure 46-2 Tree Showing New Blog''

46.3 Sharing Blog Assets

You can share blog flex assets with other sites. All types of blog assets must be shared.

Note:

The blog asset definition is required to define the attributes that make up the blog asset form.

To share blog assets

  1. Log in to the WebCenter Sites Advanced interface as a general administrator.

  2. Select a site.

  3. Locate the asset you wish to share:

    1. In the menu bar, click Search.

    2. Click Find or Advanced Search for the asset type.

    3. Fill the fields as appropriate, and click Search.

  4. In the search results list, click the asset you wish to share.

  5. At the top of the form in the button bar, click the Share element button.

    The Share element page displays.

  6. In the Share to: field, select the site(s) with which you wish to share the blog asset you selected.

  7. Click Save Changes.

    The blog asset you selected to share is now available on the site(s) with which you shared it.

For detailed information about sharing assets, see Section 11.2.2.1, "Copying vs. Sharing."

46.4 Creating Workflows for Blog Assets

Workflows can be used if you wish to manage the work on a blog asset. Before a blog asset can be published, it must be approved for publishing. The workflow feature routes blog assets through the steps that you determine as necessary, from creation to approval.

For example, if a blog asset must be reviewed by an editor before it can be approved for publishing, the WebCenter Sites' workflow feature can route that blog asset to the appropriate user at the appropriate time. For more information about workflow processes, see Chapter 10, "Creating and Managing Workflow Processes."

46.5 Working with Blog Authors

On the sample blog pages, the author's full name and image are displayed next to the author's blog posts. This section provides instructions for creating blog author assets, which contain author information. This section also provides instructions for granting users access to their own blog author assets.

This section contains the following topics:

46.5.1 Creating Author Assets

To display a blog author's full name and image next to the author's blog posts, you must create an author asset in which you specify that user's full name and optionally, an image.

To create an author asset

  1. Log in to the WebCenter Sites Advanced interface as a general administrator.

  2. Select the site on which the blog asset types are enabled.

  3. In the button bar, click New.

  4. Click New Blog Author.

  5. In the Blog Author form, fill in the fields:

    Figure 46-3 New Blog Author Form

    Description of Figure 46-3 follows
    Description of ''Figure 46-3 New Blog Author Form''

    • Name - Enter a name for the blog author asset.

      Note:

      When the author creates a blog asset, she must enter the same name into the blog asset's Author field. Otherwise, the author asset you have created will not be published to its allocated space
    • Description - Enter a short, descriptive summary about the author asset (for example, the author's full name).

    • Blog Author Category - By default, this field is single-valued. The only available value for this field is BlogAuthors.

    • Full Name - Enter the blog author's full name. This name will be displayed on the blogs that this author creates.

    • Author Profile Image - Click Browse , and select an image for the content provider.

  6. Click Save.

46.5.2 Setting Access Permissions to a Blog Author Asset

A blog author asset contains the profile of the content provider who creates blog content for the website. Setting access permissions for a blog author asset entails the following steps:

  1. Create a unique role for the blog author.

  2. Assign the new role to the blog author.

  3. Grant the blog author access to the blog author asset.

The same steps are presented in detail below.

To create a unique role for the blog author

  1. Log in to the WebCenter Sites Admin interface as a general administrator, and select a site.

  2. In the tree, select the Admin tab, expand the User Access Management node, then expand the Roles node, and double-click Add New.

    The Add New Role form opens:

    Figure 46-4 Add New Role Form

    Description of Figure 46-4 follows
    Description of ''Figure 46-4 Add New Role Form''

    • Name - Enter a unique name for the role.

    • Description - Enter a short, descriptive sentence explaining what the role will do.

  3. Click Add New Role.

    Now you must assign the role to the content provider who requires access permissions to the blog author asset.

To assign the role to the blog author

  1. Select the Admin tab, expand the Sites node, and then expand the node of the author's site. Double-click Users.

  2. In the Username field, enter the name of the user to which you wish to assign the role, and click Select.

  3. Click the edit (pencil) icon.

  4. In the Edit Roles for User form, select the role you created in steps 2 -3.

  5. Click Save.

To set access permissions to a blog author asset

  1. Access the blog author asset to which you want to set permissions:

    1. In the button bar, click Search.

    2. Click Find Blog Author.

    3. Click Search.

  2. Select the blog author asset.

  3. In the blog author's Inspect form, select the more... drop-down menu, and click Access Permissions.

    Figure 46-5 Access Permissions Form

    Description of Figure 46-5 follows
    Description of ''Figure 46-5 Access Permissions Form''

  4. Select the View by role radio button.

  5. In the Roles list box, select the role you created in steps 2-3 of the section "To assign the role to the blog author".

  6. In the Inherited list box, select all the functions (Shift+click the first and last functions), and click Grant.

    All the functions in the Inherited list box move to the Granted list box.

  7. Click Save.

The only user who can work with this blog author asset, besides the administrator, is the blog author who was assigned the selected role.

46.6 Publishing Blog Assets

If you are planning to publish a blog asset, you must pre-approve its author asset. This is to ensure that the author's profile is published with the blog asset.

46.7 Next Steps

This chapter provides administrators with instructions for enabling content providers to create and publish blog assets. For more information on testing and further developing the blog data model, to create blog pages for publication, and to work with the Community application's functionality on blog pages, see the Oracle Fusion Middleware WebCenter Sites User's Guide.