Forums / General / 2 questions,thanks?

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/

eZ debug

Timing: Jan 31 2025 04:03:32
Script start
Timing: Jan 31 2025 04:03:32
Module start 'content'
Timing: Jan 31 2025 04:03:32
Module end 'content'
Timing: Jan 31 2025 04:03:32
Script end

Main resources:

Total runtime0.2595 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.7813180.8516
Module start 'content' 0.00650.0246 769.6328101.9297
Module end 'content' 0.03110.2283 871.5625530.1094
Script end 0.2594  1,401.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00361.3774200.0002
Check MTime0.00150.5708200.0001
Mysql Total
Database connection0.00120.473610.0012
Mysqli_queries0.147056.63451410.0010
Looping result0.00110.43021390.0000
Template Total0.227987.810.2279
Template load0.00090.329810.0009
Template processing0.227087.470310.2270
Override
Cache load0.00060.224310.0006
Sytem overhead
Fetch class attribute can translate value0.00080.327210.0008
XML
Image XML parsing0.00020.090210.0002
General
dbfile0.062924.2204200.0031
String conversion0.00000.001930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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