News-Blog Item Content Managed Webpage Area Login

Contents

  1. Prerequisites
  2. Area Overview
  3. Area Formats
  4. Area Settings
  5. Dependent Configurations
  6. Recommendations

This document describes how a News/Blog Item area works when being displayed on a content managed web page within the TOTECS platform. This area is used to display the details of single news/blog item. This in turn allows users to be informed of a piece of news or blog post that is displayed on the website.

Prerequisites

Please ensure that you have read and understand the following topic links before reading on.

Area Overview

News/Blog Item area allows guests and/or logged in users to view a content managed web site to have the ability to view details of a single news item or blog post.

The news/blog item that is displayed in the area is either based on a news/blog item defined by an administrator user, or by the news/blog ID passed within the URL. This allows other web pages to set links that will determine the item that is display in the area when the web page is loaded.

This area provides a way for users to find out an article of information that administrators of the TOTECS project deem relevant.

Area Formats

The area contains the following formats:

News/Blog Item Record

This format displays once within the area if a news/blog is found, and this format allow the details of the news/blog item to display, as well as information about the user who created the news/blog item.

Layout of Formats:

News/Blog Item Format

Area Settings

Below are the following settings that can be configured through the area's editor when modifying the area in the Web Page Editor, within the Administration Centre.

Setting Label Description
Allow Any News/Blog Group To Show Items: If selected, then the news/blog item that is displayed in the area is determined on the web page URL containing the ID of the news/blog item. If  the ID is not in the URL then the area will not display any detail. If this setting is unticked then it allows admins to set the ID of  the news/blog item in the setting below.
News/Blog Item ID: Set the ID of the news/blog item that displays in the area. This setting will only be editable if the above setting is unticked.
News/Blog Items Webpage Link: Set the content managed web page that the "more" link will link to from within the News/Blog Item format. Use this to set the web page that gets called when the user wishes to view more details of the news/blog item.
Date Format: The setting customises how news/blog item dates are formatted in the News/Blog Item format.
This setting accepts a string of characters according to the Java date string format, details at 
http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
For example if the setting is set to YYYY-MMM-dd that will output "2015-Mar-24", where as dd/MM/YY would output "24/03/15".
Heading Short Character Limit: Set a numeric value to limit the amount of characters for the news/blog item's heading data within the heading_short hook of the News/Blog Item format.
Body Short Character Limit: Set a numeric value to limit the amount of characters for the news/blog item's body data within the body_short hook of the News/Blog Item format.

Dependent Configurations

In order for the the area to display news/blog item data the following configurations are required to be set up:

  • For a news/blog item to appear in the area, the item must be assigned to a news/blog group that has its setting "Displayed In" set to either "Trade interface and Content Managed Websites", or "Content Managed Website". This setting is available within the News/Blogs interface under the Marketing menu in the Administration Centre.
  • For a news/blog item to appear in the area, the item need be assigned to a news/blog group that has its setting "Users View News/Blog Items" set to "All Users". If this setting is set to "Users With Assigned Accounts", the users will be only able to view the items if their account is explicitly assigneds to the news/blog group This setting is available within the News/Blogs interface under the Marketing menu in the Administration Centre, as well as the ability to assign customer accounts to news/blog groups.

Recommendations

  • Link this area with the News/Blog Group Item Listing area to allow users to navigate from news/blog groups to news/blog items.
  • This area, combined with the News/Blog Group Item Listing area, and the News Group Forum area can create forum functionality, where this area is used as a way to display a post of a forum (news/blog group).