Forums / General / 2 questions,thanks?
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.phpkernel/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/
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.
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.
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!
Friday 14 January 2005 12:53:29 am
hi, Björncan u give me some idea how to do this ?
thank u very much!
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_xhttp://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/