Integration and datatype

Author Message

Lars Eirik R

Thursday 27 May 2010 5:30:20 am

Hi.
We are currently working on integrating ezpublish with a media asset system , called mbm for now.

I have created a new datatype called mbmphoto.
This datatype already does the following:
1:the client clicks the button called launch mbm in ezadmin interface.
2:The button opens up a search window where the user may click on images.
3: mbm returns lots of paramters to our ez publish installation at a common url called /handlembm.php
This script should be able to store images in the media section and also relate this to the article where the user clicked the integration button.
Is this possible to accomplish?
We cannot return the content/edit/x/ url as this is not open to the mbm system and also this is as I understand it locked.
I am thinking that we might have to get our handlembm.php script to manipulate this article and store these images.
The problem is how can we notify our user about this, without requring a refresh of the edit window.
Could you please help with a guide on which steps to make.

Lars Eirik R

Sunday 30 May 2010 5:22:08 am

anyone..?

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 10:40:37
Script start
Timing: Jan 18 2025 10:40:37
Module start 'layout'
Timing: Jan 18 2025 10:40:37
Module start 'content'
Timing: Jan 18 2025 10:40:38
Module end 'content'
Timing: Jan 18 2025 10:40:38
Script end

Main resources:

Total runtime0.8588 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 587.9141152.6250
Module start 'layout' 0.00860.0033 740.539139.4453
Module start 'content' 0.01190.8455 779.9844460.1719
Module end 'content' 0.85740.0014 1,240.15638.1641
Script end 0.8588  1,248.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4049160.0002
Check MTime0.00150.1791160.0001
Mysql Total
Database connection0.00240.274110.0024
Mysqli_queries0.809894.3015520.0156
Looping result0.00050.0566500.0000
Template Total0.821195.620.4105
Template load0.00240.281920.0012
Template processing0.818695.324520.4093
Template load and register function0.00010.012710.0001
states
state_id_array0.00080.095910.0008
state_identifier_array0.00130.153720.0007
Override
Cache load0.00210.2393200.0001
Sytem overhead
Fetch class attribute can translate value0.00100.111210.0010
Fetch class attribute name0.00120.137930.0004
XML
Image XML parsing0.00060.073410.0006
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00120.1424160.0001
String conversion0.00000.001040.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs