2 questions,thanks?

Author Message

kevin wei

Wednesday 12 January 2005 9:26:29 pm

1. i have a class with 20 fields, so i want split it to 4 section with 5 fileds in one page, when i filled these 5 fields, there is a next button can make it go to next page, and by clicking previus button to go back to change vable.

2.i have class called url with 2 fileds, but i have 20000 recoeds to input, is there a convenince way by which i can edit a file , then import it to database by phpmyadmin or other tools. which will save my many times.

thanks!

Björn Dieding@xrow.de

Thursday 13 January 2005 12:49:31 am

1.)

no sorry this is currently not possible or better say hard to realize.

2.)
Yes you can write your own script.

you can supply eZ with data by filling objects like

kernel/classes/ezcontentobject.php
kernel/classes/ezcontentobjectattribute.php
kernel/classes/eznodeassignment.php

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/

kevin wei

Thursday 13 January 2005 1:38:51 am

thanks for ur favourable reply.

1.can i override edit template of this class in user mode and split it in 4 section with different color in one page?

2.it is too difficult to me to do this, so i decide to input these huge data in admin page though it is very slow to use ezp edit mode but view mode with cache is a little fast.

Björn Dieding@xrow.de

Thursday 13 January 2005 2:48:33 am

1.)
yes is possible.

2.)
You should consider getting some external help. You will just waste to much time inserting those records.

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/

kevin wei

Thursday 13 January 2005 4:44:12 pm

you can supply eZ with data by filling objects like

kernel/classes/ezcontentobject.php
kernel/classes/ezcontentobjectattribute.php
kernel/classes/eznodeassignment.php

can i use sql file to import data to ezp database?
what' s mean of supply eZ with data?
thx!

kevin wei

Friday 14 January 2005 12:53:29 am

hi, Björn
can u give me some idea how to do this ?

thank u very much!

Björn Dieding@xrow.de

Friday 14 January 2005 3:09:13 am

http://ez.no/community/contribs/import_export/import_script_for_data_import_from_2_2_to_3_x
http://ez.no/community/contribs/import_export/email_to_article_import_script

those to pieces of code should give you the idea

besides that I am currently also working on that one

http://pubsvn.ez.no/community/trunk/extension/import/

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 09:42:04
Script start
Timing: Jan 19 2025 09:42:04
Module start 'layout'
Timing: Jan 19 2025 09:42:04
Module start 'content'
Timing: Jan 19 2025 09:42:04
Module end 'content'
Timing: Jan 19 2025 09:42:04
Script end

Main resources:

Total runtime0.0165 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.0313152.6094
Module start 'layout' 0.00590.0029 741.640639.4141
Module start 'content' 0.00870.0056 781.054797.3984
Module end 'content' 0.01440.0020 878.453138.3047
Script end 0.0164  916.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003320.2664140.0002
Check MTime0.00116.9295140.0001
Mysql Total
Database connection0.00105.775310.0010
Mysqli_queries0.002515.127530.0008
Looping result0.00000.085310.0000
Template Total0.00169.910.0016
Template load0.00095.192410.0009
Template processing0.00084.707910.0008
Override
Cache load0.00063.604310.0006
General
dbfile0.00031.734280.0000
String conversion0.00000.047740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs