Share » Forums » General » Some questions about what EZ can be...

Some questions about what EZ can be used too.

Some questions about what EZ can be used too.

Tuesday 04 May 2004 9:17:59 am - 2 replies

Modified on Tuesday 04 May 2004 9:19:49 am by Aleksander Lyse

Author Message

Paul K Egell-Johnsen

Tuesday 04 May 2004 12:16:29 pm

In the adminstration view go to "setup" and select "classes". There you can either add a new class or change an existing. Select the "article" class and edit it. Add a new attribute "object list". Give it a name (the name of the field shown when creating or editing and article) and an identifier (lowercase version of its name with spaces substituted with underscores).

Select the allowed classes, "image" would be the only one for this example, I think. Store the class with the changes and return to the "content" section and create a new article.

Now, when you create a new article you will find an additional field at the bottom. In there you can add images, and you will be able to add name, caption and upload the image.

I don't know the exact tagging to place the images in the story though ;) But you could create a template for article which lists the images.

I also think there is a way to add existing images to an article, the "object relation list", there is ways to tag where to place content from those in the article, I believe. Object relation list works the same as an object list, I belive (I have a non working older beta of this functionality, so I'm not 100% sure).

As for your other questions, the publishing date is probably just a part of the object you can insert into the article template. Check the design forums. The pages might work with tags in the xml input (the body of an article), if not you could create a class "multipage article" which has an "object list" of articles, where each object in that list is an "article".

You could use that method to create classes like "book" having lists of "chapters" which have "sections" and under there "subsections"... You get the idea.

--
http://www.vogol.com/user/spdyvkng/blog/

Willie Seabrook

Friday 07 May 2004 9:24:56 pm

http://www.ez.no/ez_publish/documentation/the_template_language
http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_members_page/creating_a_custom_content_class

May help.

Search the docs - they have all that information.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu