Ez Module

Author Message

Mahesh Arvind

Monday 21 June 2004 8:50:29 am

Hi,

I am creating a new module for my website. I have followed the steps mentioned in the link http://www.ez.no/ez_publish/documentation/development/extensions/building_an_ez_publish_module.

However, I am not able to see the output. What would be the URL I have to use to see the output. I am using a single site.

Thanks
Mahesh

Thanks & Regards
Mahesh

Kåre Køhler Høvik

Tuesday 22 June 2004 2:04:29 am

The url will be : <your base eZ publish url>/eurofxref/overview

--
Kåre Høvik

Kåre Høvik

Mahesh Arvind

Wednesday 23 June 2004 5:31:45 am

Hi,
I have given that url but it is not working. It diplays a plain page. Any more ideas about what I would be missing?

Thanks
Mahesh

Thanks & Regards
Mahesh

Mahesh Arvind

Thursday 24 June 2004 2:35:11 am

Hi,

If I tried to put eurofxref.php and the xml file under main eZPublish directory and then run the php file, will I get the output. I am not getting anything here now. I want to know whether this one will work only if its called inside a template. Any more ideas is appreciated.

Thanks
Mahesh

Thanks & Regards
Mahesh

Mahesh Arvind

Thursday 24 June 2004 7:10:29 am

Hi,

I managed to display the template. But, its not calling the PHP function. This is my template code.

{let details=fetch( 'reports', 'fxref' )}
<br/>
<table border="1">
{section loop=$details.UserId}
<tr><td> {$:key} </td><td> {$:item|l10n( 'number' )} </td></tr>
{/section}
</table>
{/let}
<br />

Any help appreciated.

Thanks
Mahesh

Thanks & Regards
Mahesh

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 22:36:41
Script start
Timing: Jan 18 2025 22:36:41
Module start 'layout'
Timing: Jan 18 2025 22:36:41
Module start 'content'
Timing: Jan 18 2025 22:36:42
Module end 'content'
Timing: Jan 18 2025 22:36:42
Script end

Main resources:

Total runtime0.9169 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0097 587.7891152.6094
Module start 'layout' 0.00970.0037 740.398439.3984
Module start 'content' 0.01350.9017 779.7969567.4063
Module end 'content' 0.91520.0016 1,347.203112.2031
Script end 0.9168  1,359.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3824160.0002
Check MTime0.00150.1629160.0001
Mysql Total
Database connection0.00100.105110.0010
Mysqli_queries0.851292.8368630.0135
Looping result0.00070.0716610.0000
Template Total0.873295.220.4366
Template load0.00240.256720.0012
Template processing0.870994.983520.4354
Template load and register function0.00010.011710.0001
states
state_id_array0.00100.104910.0010
state_identifier_array0.00220.245420.0011
Override
Cache load0.00200.2165420.0000
Sytem overhead
Fetch class attribute can translate value0.00080.083220.0004
Fetch class attribute name0.00130.140470.0002
XML
Image XML parsing0.00080.091020.0004
class_abstraction
Instantiating content class attribute0.00000.0024100.0000
General
dbfile0.00100.1092210.0000
String conversion0.00000.001140.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/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: 30
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs