Hi,
Installation problem solved
I could solve the installation problem that I had.
(I deleted the corresponding messages since explanations are given below.)
The parsing error was due to the fact I had paste fast_content_csv.php code directly in the module instead of module_fast_content_csv.php.
Bruno, as you only copy-pasted the comments for the module at the top of this thread, it would be useful to edit the top message and tell explicitely which file to copy-paste in the module.
The tutorials
The "fast_content_cvs" modules and plugin appears great tools, but I’m lost concerning the "Import" process.
I’m not sure that I have all the tutorials.
The tutorial files I have are tutorial.odt, tutorial_08.odt, tutorial_09.odt and the corresponding pdf files.
I don’t understand your tutorial very well and a more graphical explanation of the interface (maybe done with OO Draw) and the concepts behind would be much useful.
PHx is new to me. Some explanations about things like "[#t#id#t#]" would be much useful.
Exporting - Importing one branch of the document tree
Step 1 - Exporting from Site A
I could easily export one branch of my document tree using the plugin and by clicking a document in the tree.
Step 2 - Creating fast_content_csv workspace from Site B
In the site from which I want to import that branch, I could create a workspace.
It’s not obvious to click the "Next" button to be able to create a workspace.
After clicking the "Next" button, I chose the "Workspace" tab and wrote a new workspace name and clicked the "Change Workspace" button.
This create the new workspace as in listed in "\assets\modules\fast_content_csv\config\workspaces.csv".
You don’t need to worry about the content of this file as it is updated automatically from the modul, but it’s however interesting to have a glance at it.
The workspace itself is in "assets\files\fast_content_csv\name_of_new_workspace_folder".
Step 3 - Selecting the file to import from Site B
After the workpace was created, I went to the "Configuration" tab and chose the csv file to import.
Then, clicked the "Save workspace" to save the settings in the "workspaces.csv" file.
Step 4 - Selecting import options from site B
This is where I was failed as I don’t understand well what to choose.
I selected the file to import as "Source file".
For the template, I chose "--from csv (id)--".
I checked the Export all "doc-fields" and "TV-fields" checkboxes.
Finally, I clicked the "Save Config" button.
Step 5 - Importing from site B
On the "Start" tab, I chose action "Insert" and checked "Run in test" mode.
I get something like this:
---------------Testmode!(no action): Insert Document
Dokumentvariablen
createdon:1261136217
publishedon:1261136217
editedon:1261136217
parent:0
Templatevariablen
---------------Testmode!(no action): Insert Document
Dokumentvariablen
createdon:1261136217
publishedon:1261136217
editedon:1261136217
parent:0
Templatevariablen
At the top of the page Action is 0, although I chose the "Insert" action on the start tab.
I don’t know if this is because I set no action in the workspace.
Should I write "Insert" as a new action on the "Workspace" tab and save it?
I’m totally lost about how to set the Fields-Config tab and if it is necessary.
Some example screenshots and explanations about this would be much useful.
Is there a was to specify under which parent document to import. Or is document 0 (site root) used by default?
What I need to do is importing one branch with children and sub-children.
I can import them sub-branch by sub-branch if more easy.
Some documents to import have an id that already exists, so I should renumber those ones automatically during the import process.
Thanks.