Content Classes

Content Classes

The following sections describe each content class available in eZ Publish. As described above (in the section “Adding, editing and deleting content”), the list of content classes displayed in the drop-down list vary according to the content object that is currently displayed and whether your are logged in with a user account that belongs to an Editor or Administrator group.

The Article is the most commonly used content type. In addition to text, articles can display  images stored in other areas of the site, author information, etc. Single-page articles are created using the  Article content class (described in this section). Multi-page articles are created using the Article (main-page) and Article (sub-page) content classes (described in the following sections). To create an article, select Article from the drop-down menu in the Website Toolbar then click on the Create button.

Click on the desired link in order to see the information about it:

Content | Article

Attributes

Content | Article (main page)

The difference between the Article content class described on and the Article (main page) content class described here is that the Article content class is used to create single-page articles, while  the Article (main-page) and Article (sub-page) classes are used to create multi-page articles. (The Article (main-page) class is a container for one or more Article (sub-page) content objects.)  Multi-page articles are automatically linked, allowing users to move from one page of the article to the next (or previous) page of the article. Also, they are displayed with a sidebar that lists each of the  pages in the article. The Article (main-page) content class is the same as the Article class, except for one additional field:

Index title: When you create a multi-page article, a list of the pages in the article is displayed to the right of the main page and sub pages. The content of this field is used as the text for the page within the list of pages. If this field is left blank, the content of the Short title or, if blank, the Title field is used.

Content | Article (sub-page)

The Article (sub-page) content class is used to create additional pages for Article (main page) content objects. Refer to the description above for details about this relationship. The attributes for the Article (sub-page) content class are a sub-set of the attributes available for the Article content class. Refer to the Content | Article section above for information about these fields.

Content | Banner

The banner is a graphic file that is used as a “billboard” object on a page. A banner can only be created in the Administration Interface. Although the Website Interface provides the option to create a Banner, it is not properly stored in the Media library, and therefore it must be moved after creation. Therefore, it is best to create banners via the Administration Interface (rather than via the Website  Interface), as described below.

To add a new banner to the system, access the Administration Interface as described earlier in this document and click on the Media library button in the horizontal menu bar. Select the Banner link  from the left menu and add a new banner from the page that appears.

eZ Publish Website Interface comes with a range of demo banners that you can use, or you can provide your own. It is recommended that you create all your banners in the Media Library for better control of your media.

Attributes

Content | Blog

The Blog content class is used to create a blog. A “blog” (short for “weblog”) is a series of typically short articles by a single person and / or on a particular topic. Individual blog entries are created via the Blog post content class.

On the right side of the blog page, there are three elements that are specific to the Blog content class. At the top there is a “tag cloud”, where all the tags attached to each blog post are aggregated and displayed in varying font sizes according to the number of tags for each term. The description of the Blog content object is displayed below the tag cloud. Beneath the description there is an alphabetical list of all the tags for all the individual posts, with the number of occurrences of each tag.

Attributes

Content | Blog Post

Individual blog posts are created beneath Blog content objects. When site visitors look at a blog, they see a list of the Blog posts associated with the blog. Users can click on the title of a blog post to view the post on a single page.

Attributes

Content | Comment

When comments have been enabled for an object (by checking the Enable comments box while adding a content object), visitors can post comments that are appended to the bottom of the page. Not all content classes allow comments: those that do include the Folder, Article and Blog content classes. While you can create a Comment by adding a Comment content object through the Website Interface, comments are generally added through the “standard” interface (that is, the same interface that is displayed to regular site visitors).

Content | Documentation Page

A Documentation Page is used to present reference information, such as a knowledge base or FAQ page. It is also useful for building online manuals and other reference documentation. It is similar to the Folder content class, but only contains a subset of the Folder class attributes. The primary difference between these two content classes is the way they are displayed.

Attributes

Content | Event

An Event is a content class that is contained in an Event Calendar content object (described below).

Attributes

Content | Event Calendar

An Event Calendar is a container for events, and displays as a clickable calendar that allows the user to browse events.

Attributes

Content | Feedback Form

A Feedback Form is used as a contact form.

Attributes

Content | Folder

The Folder content class is similar to the Article content class, but it does not allow image uploads or comments. It is a container that is used to display collections of content entities, such as articles, images, etc.

To create a folder, select Folder from the drop-down menu in the Website Toolbar and then click on the Create button.

To simply list the children of the folder, you only need to fill in the Name attribute. The Short name, Summary and Description fields are optional. The contents of these fields will be displayed above the list of the folder's children.

As an example, imagine that you want to create a folder that will contain news articles.You would give the folder the name “News” and enable the Display sub items checkbox.

After adding news articles beneath the new folder, the folder will display as a page with a list of the articles.

Attributes

Content | Forum

A Forum is a container for individual topics, and only holds a few attributes to describe the forum and its purpose.

Attributes

Content | Forum Reply

The Forum reply content class stores replies that site visitors post in response to Forum topics. While you can create a Forum reply using the Website Interface, they are generally added through the “standard” forum interface (that is, the same interface that is displayed to regular site visitors).

Content | Forum Topic

The Forum topic is the container for conversation threads. A Forum topic “opens” the conversation; other participants carry on the discussion via Forum replies. While you can create a Forum topic  using the Website Interface, they are generally added through the “standard” forum interface (that is, the same interface that is displayed to regular site visitors).

Content | Forums

The Forums content class is a container for individual Forum objects. Typically, a top-level Forums content object contains several Forum content objects that organize the forum into topic areas. For example, in the screenshot below, the top-level Forums content object is called “Forums”, and it contains the Forum content objects “Technology”, “General” and “Setup & design”. The Forum content objects are children of the Forums content object.

Attributes

Content | Frontpage

The Frontpage content class is a very flexible content container used to present summaries of content from throughout the site. Rather than re-adding content from the site on the site's front page, you simply embed objects so that the frontpage is automatically updated whenever new content is added.

The Frontpage content class has four regions: three columns above a bottom row that spans the width of the page. The columns resize automatically; only the columns that contain content will be displayed, and the displayed columns will always use the whole width of the page. So, for example, if there is content in the left and center columns but nothing in the right column, the page will be rendered so that the center column takes its own space and that of the right column.

Content is embedded into the Frontpage's regions via the embedded objects function in the Online Editor. Any  class of content object can be embedded.

To add an embedded object, click the “Insert object” icon (the paperclip) on the Online Editor toolbar.

In the resulting popup window, choose the content you wish to embed and the class to use for its layout.

The following classes are available:

The Itemized classes create a list of content available in the embedded container.

The Vertically/Horizontally Listed classes also display lists of content, but include images (if available).

The Highlighted Object class only displays one content object, but will use more space and different design (if provided through a custom site style, described in the Customization Manual) in order to draw focus to it.

Note that it is important that the View has been set to Embed, or the class will not apply. More information about the Online Editor can be found in the online manuals:http://ez.no/doc/extensions/online_editor/5_x

Attributes

Content | Gallery

The Gallery content class is mostly used as a container for images. A gallery will display a list of images represented by a thumbnail version of the image, with a link to a page with a larger image and a full description. This content class can also be used as a gallery of video files.

Attributes

Content | Infobox

The Infobox content class is used to display small content entities on the right side of the webpage.

Attributes

Content | Link

The Link content class is used to create and display a link. The link will be displayed in the container above the location of the link in the content hierarchy.

Attributes

Content | Multicalendar

A Multicalendar is a content object that displays one or more Event calendar objects. For example, if you maintain both a calendar of training sessions and a calendar of conferences on your site, you could use a Multicalendar content object to display all events in both calendars in a single list.

Attributes

Content | Poll

A Poll is a form used to collect simple user feedback. A Poll asks a single question and provides a list of answers from which the user can choose a single answer.

Attributes

Content | Product

If your site is configured as a Webshop, use the Product content class to create new items in the shop. The product type is fairly advanced, allowing you to add options to the product that the customer can choose in order to increase revenue. Configuring a Webshop is beyond the scope of this manual; for complete information, refer to the online documentation: http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/webshop

Attributes

Add option sets by clicking the button Add multi option, and add options within an option set by clicking the Add option button.

To remove option sets, enable the checkbox beside the desired option set and click Remove. To remove an option within an option set, enable the checkbox beside the specific option then click the Remove selected button associated with the option set.

Media | File

The File content class is used to hold a file and a description of the file.

Attributes

Media | Flash, Quicktime, Real Video, Windows Media

eZ Publish supports the following multimedia file types:

All these multimedia standards have a corresponding content class you can use to integrate these files into your web pages. All the multimedia content classes have some similar attributes, and some that are specific to the individual file type.

Attributes

This is a screenshot of the file edit interface of a Real media content object:

The interface for the other multimedia types are similar.

Format-specific attributes

Media | Image

The Image content class contains both an image file and a description of the file.

Images created this way can be displayed as an image with description in a gallery or can also be embedded in other content. For example, you can embed an image in an article by clicking on the Insert Object button in the Online Editor while editing the article.

Attributes

Setup | Template look

These options are the same as those accessed via the Site settings menu item in the top right corner of the interface. They are described in the Website Interface Installation Manual.

Users | User

This option is only displayed to users who belong to the Administrators group. While it is possible to create a user object via the Website Toolbar, the object is not stored in the User accounts branch of  the content node tree. (This is because the Website Interface only has access to the Content branch of the node tree.) Therefore, the user account will not be valid until the object has been  manually moved to the correct location, which can only be done via the Administration Interface. Therefore, we recommend that you create users through the Administration Interface as it is less  trouble.

Users | Group

This option is only displayed to users who belong to the Administrators group. While it is  possible to create a group object via the Website Toolbar, the object is not stored in the User accounts branch of the content node tree. (This is because the Website Interface only has access to the Content branch of the node tree.) Therefore, the group will not be valid until the object has been manually moved to the correct location, which can only be done via the Administration Interface. Therefore, we recommend that you create groups through the Administration interface as it is less trouble.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.