how to store object in database?

Author Message

Srinivas Rao

Friday 11 July 2003 2:18:48 am

Hi All,

In ezpublish-3 I created one object in content. That object calss id is 14. Based On object I created full_class_14.tpl. Problem is how can I store this object in to database??. Any one plz help me....

---srinivas

Björn Dieding@xrow.de

Friday 11 July 2003 2:37:06 am

you need to create the the proper view "edit" tempates too...
or you use the default... edit template

/content/view/full/5/
/content/edit/full/5/

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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

Main resources:

Total runtime0.6442 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.0067 587.9141152.6250
Module start 'layout' 0.00670.0034 740.539139.4453
Module start 'content' 0.01010.6324 779.9844520.9609
Module end 'content' 0.64260.0016 1,300.94538.1563
Script end 0.6442  1,309.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.6437160.0003
Check MTime0.00170.2624160.0001
Mysql Total
Database connection0.00120.192610.0012
Mysqli_queries0.591691.8336540.0110
Looping result0.00060.0985520.0000
Template Total0.604993.920.3024
Template load0.00220.344920.0011
Template processing0.602693.544620.3013
Template load and register function0.00020.024810.0002
states
state_id_array0.00180.274010.0018
state_identifier_array0.00090.142520.0005
Override
Cache load0.00170.2679120.0001
Sytem overhead
Fetch class attribute can translate value0.00070.115020.0004
Fetch class attribute name0.00250.385130.0008
XML
Image XML parsing0.00130.199920.0006
class_abstraction
Instantiating content class attribute0.00000.001830.0000
General
dbfile0.00150.2272160.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs