Content classes

These documentation pages are no longer maintained. Please visit the new documentation site.

Content classes are used to define the structure of your content. Content objects are instances of the content class definition.

The ability to create your own content types can be better exemplified by looking at a particular example. I believe most readers can infer the possibilities of creating your own content types with an example of how a stock class such as "Article" can be extended.

The stock Article class that comes out of the box with a lot of the sample sites includes the basics of what you would need in an Article class. It has a Name, a Summary (for displaying a teaser line), the Article text itself, an image, an author.

eZpublish lets you easily take a custom Article requirement such as "download link for a diagram file with each article". To do this you would simply go to the administrative interface and "Edit" the class "Article" and add a "File" attribute.

Some of the built-in attribute types go beyond the simple "input field", "file", "url" kinds of fields, but also allow the class editor to specify object relationships with a navigating mechanism to allow association of objects for complex content structures.

Comments

ok for backend but for frontend ?

Hi,

thank's for your answer, it's great for the backend, i can see google maps with my position, but when i see this image on the frontend site i see nothing, the map don't appear ????
@+

dead link ...

All over the site I see those dead links ... beginning with ez.no/developer/ez_publish_3/

--
Lukas

See related docs

A bit short, I agree, take a look here:

http://ez.no/developer/ez_publish...information/concepts/building_blocks

(one of the related documents)

This needs clarification

Perhaps an example or two would serve to help this be better understood

Contents

Customization

Access control
eZ publish API Documentation
Content structure
    Content classes
    Sitemap
Custom design
Components
Tips & Tricks
Troubleshooting


Created

08/07/2003
1:02:33 pm
by Bård Farstad

Last updated

01/05/2004
7:18:54 pm
by Vaskin Kissoyan

Authors

Bård Farstad
Vaskin Kissoyan



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.