import xml and return ONLY output from my module

Author Message

Dominik Pich

Thursday 11 March 2004 4:52:33 am

I have written a new modul sheet with a function import. Its task is to read xml and a belonging pdf and png and create a new product ezclass from the xml, pfd and png previously uploaded via ftp.

It should then return a simple string: x|Message (x is a bool and is 0 or 1)
I dont want to return all the html generated by the main index though... no menu, no design...

How would I do this?
Thanks,
Dominik

liu spider

Thursday 11 March 2004 6:52:42 am

in the result variable in your module, set

$result["pagelayout"] = false;

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

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 19 2025 00:34:33
Script start
Timing: Jan 19 2025 00:34:33
Module start 'layout'
Timing: Jan 19 2025 00:34:33
Module start 'content'
Timing: Jan 19 2025 00:34:34
Module end 'content'
Timing: Jan 19 2025 00:34:34
Script end

Main resources:

Total runtime0.7828 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.0068 588.0469152.6406
Module start 'layout' 0.00680.0031 740.687539.4766
Module start 'content' 0.00990.7713 780.1641520.7969
Module end 'content' 0.78120.0015 1,300.96098.1250
Script end 0.7828  1,309.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4381160.0002
Check MTime0.00140.1741160.0001
Mysql Total
Database connection0.00080.100010.0008
Mysqli_queries0.737094.1527540.0136
Looping result0.00050.0602520.0000
Template Total0.750795.920.3754
Template load0.00190.246020.0010
Template processing0.748895.655420.3744
Template load and register function0.00010.015510.0001
states
state_id_array0.00090.118710.0009
state_identifier_array0.00100.126520.0005
Override
Cache load0.00160.2003130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.072820.0003
Fetch class attribute name0.00100.131230.0003
XML
Image XML parsing0.00100.134020.0005
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00100.1274160.0001
String conversion0.00000.001240.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs