Content Wrapper

Author Message

John Axsom

Friday 14 January 2005 4:18:17 pm

Is there a way in Ez Publish to have an external application run within the ez templates?

We use HAM Weather for a weather script and would like it to display within our site like it currently does.

Thanks,
John

Kristian Hole

Tuesday 18 January 2005 2:47:25 pm

One way to do it is to make a templateoperator which calls the other script, and returns the result. Check this documentation page:

http://ez.no/ez_publish/documentation/development/extensions/template_operator

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

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 18:26:49
Script start
Timing: Jan 18 2025 18:26:49
Module start 'layout'
Timing: Jan 18 2025 18:26:49
Module start 'content'
Timing: Jan 18 2025 18:26:49
Module end 'content'
Timing: Jan 18 2025 18:26:49
Script end

Main resources:

Total runtime0.5861 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.0158 587.7813152.6094
Module start 'layout' 0.01580.0027 740.390639.3984
Module start 'content' 0.01850.5660 779.7891518.7813
Module end 'content' 0.58460.0014 1,298.57038.3594
Script end 0.5860  1,306.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.6074160.0002
Check MTime0.00150.2527160.0001
Mysql Total
Database connection0.00090.150410.0009
Mysqli_queries0.542592.5736540.0100
Looping result0.00050.0871520.0000
Template Total0.543392.720.2717
Template load0.00240.409020.0012
Template processing0.540992.298020.2705
Template load and register function0.00020.034310.0002
states
state_id_array0.00080.143010.0008
state_identifier_array0.00070.123220.0004
Override
Cache load0.00200.3364110.0002
Sytem overhead
Fetch class attribute can translate value0.00080.140320.0004
Fetch class attribute name0.00120.212430.0004
XML
Image XML parsing0.00080.135820.0004
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00100.1685160.0001
String conversion0.00000.001340.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs