ez.no / ezpublish / documentation / customization / content structure / 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 ?
Pascal Obstétar
Tuesday 31 October 2006 6:17:08 pm
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 ...
Lukas Kolbe
Friday 20 August 2004 9:40:34 pm
--
Lukas
See related docs
Karsten Jennissen
Wednesday 03 September 2003 8:56:27 am
http://ez.no/developer/ez_publish...information/concepts/building_blocks
(one of the related documents)
This needs clarification
RW Wood
Tuesday 02 September 2003 7:57:40 pm