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.

eZ debug

Timing: Jan 18 2025 11:28:57
Script start
Timing: Jan 18 2025 11:28:57
Module start 'content'
Timing: Jan 18 2025 11:28:58
Module end 'content'
Timing: Jan 18 2025 11:28:58
Script end

Main resources:

Total runtime1.3401 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 587.8359180.8203
Module start 'content' 0.00841.1835 768.6563577.1328
Module end 'content' 1.19190.1481 1,345.7891336.7500
Script end 1.3400  1,682.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2805210.0002
Check MTime0.00140.1072210.0001
Mysql Total
Database connection0.00210.154810.0021
Mysqli_queries1.264094.32601960.0064
Looping result0.00210.15861940.0000
Template Total1.304597.320.6522
Template load0.00190.141320.0009
Template processing1.302697.202020.6513
Template load and register function0.00020.016110.0002
states
state_id_array0.00130.099410.0013
state_identifier_array0.00110.079020.0005
Override
Cache load0.00150.1154260.0001
Sytem overhead
Fetch class attribute can translate value0.00120.093340.0003
Fetch class attribute name0.00100.074340.0002
XML
Image XML parsing0.00100.076140.0003
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00450.3371260.0002
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs