New to ez. How is functionality extended?

Author Message

Jens Tandstad

Wednesday 01 February 2006 5:05:07 pm

Hi! Sorry to bother all you ez-experts, but I've got some silly questions about how everything works.

I don't understand how functionality is extended outside of the framwork of ez.

I am building a internet portal for travel, and I need to include my own flash developed picture gallery, and google map into ez. And I need to allow people to log on and have their own "space", where they can write a little and upload pictures and build these flash galleries.

Is this even possible within ez? How to make it possible? Extension, module, or component. It's all a bit confusing.

Would I need to make a component that i can select alongside "Article", "Folder" or "gallery"? Or would I select gallery, and modify it heavily with php?

Do I just write PHP code into the text box in the article?

Could you point me towards documentation or tutorials telling how to develop components for ez,or how to make certain pages behave in a dymaic way, such as showing flash content?

JT

André R.

Monday 13 February 2006 8:28:58 am

This is probably all possible, but not for free.
As in either pay somebody to do it, or find out how to implent it yourself.

Check the Community/Contributions section, some of the things you ask for is there somewhere. Or in the extionson folders around the pubsvn.ez.no site.

When it comes to the flash gallery you can make it as an override for the gallery template. and modefy it to read content from ez in some way.

One of the ways to read that data is looping thru it in the gallery template thru the $node.children variable.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:07:25
Script start
Timing: Jan 18 2025 16:07:25
Module start 'layout'
Timing: Jan 18 2025 16:07:25
Module start 'content'
Timing: Jan 18 2025 16:07:26
Module end 'content'
Timing: Jan 18 2025 16:07:27
Script end

Main resources:

Total runtime1.2136 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.0469152.6406
Module start 'layout' 0.00560.0043 740.687539.4766
Module start 'content' 0.00991.2021 780.1641524.8516
Module end 'content' 1.21200.0016 1,305.01568.1250
Script end 1.2136  1,313.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2851160.0002
Check MTime0.00130.1077160.0001
Mysql Total
Database connection0.00080.062010.0008
Mysqli_queries1.168996.3117540.0216
Looping result0.00050.0441520.0000
Template Total1.154295.120.5771
Template load0.00230.186220.0011
Template processing1.151994.912020.5759
Template load and register function0.00020.013910.0002
states
state_id_array0.00210.173010.0021
state_identifier_array0.00220.184720.0011
Override
Cache load0.00190.1538180.0001
Sytem overhead
Fetch class attribute can translate value0.00110.091820.0006
Fetch class attribute name0.00120.102730.0004
XML
Image XML parsing0.00070.055020.0003
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00080.0629170.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs