Forums / General / Some questions about what EZ can be used too.

Some questions about what EZ can be used too.

Author Message

Aleksander Lyse

Tuesday 04 May 2004 9:17:59 am

Hi guys! I used EZ when it was very new, and are now ready to try it again.
I installed the last version, and there are some things I dont seems to find out how too do.

1. How can I use many pictures in one article? It seems I cant use HTML codes in the articles - why? thats a bit weird. Is it a good argument not using html codes?

2. How can I use multipile pages in one article? I need to write some long articles at my page, but it dont seems to work with EZ. It should be an easy mod to make multipile pages...

3. How can I set the publish time on the articles? (if I want to automate the publish time)

EDIT: is it possibile to make the email to the aurthor of the article to show in the article?

Well I might find out some more questions later, but this will work for now.

Regards,
Aleksander Lyse (jupp - im a norwegian and want to support EZ of naturaly causes ;))

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.