View Full Version : creating exhibtions from text file?
ReLeone1
15th of March 2006 (Wed), 17:30
If I have a list of exhibition names from my offline photo administration (IMATCH) is there a chance to batch add that to EE? The table structure seems a bit complicated so it can't be done with altering just one table. It would save lots of manual input if Icould batch add the exhibition names from a *.txt file.
ReLeone1
16th of March 2006 (Thu), 17:01
Is this possible or not? Or is my English so bad that you don't understand what I want to know?
Pekka
16th of March 2006 (Thu), 17:05
The SQL steps needed to add a new exhibition are in EDITOR_exhibition.php starting from line 23:
// WHEN CREATION OF A NEW EXHBIBITION IS REQUESTED, DO IT
if (isset($HTTP_GET_VARS['newexhib'])) {
If you convert that to preprocessed SQL command lines you have text creation of exhibitions. You'll need to take autoincrements into account.
To change exhibition data the code is in like 411, from
if (isset($HTTP_POST_VARS['submit_exhibitiondata'])) {
I'd say it's much easier to use editor for that .
ReLeone1
17th of March 2006 (Fri), 02:49
I am not sure if I understand your answer. I don't want create a text file from an EE exhibition but I want to use an existing text file containing all the names to be converted in exhibitions.
I don't see (or understand) how can I convert an existing text file with names (every name is in one line) into EE exhibitions. And iIt should be an option but not the only way creating exhibitions.
Cyclist
17th of March 2006 (Fri), 08:58
Do you mean an import function? That sounds interesting. I think it would save time if it was possible to import the exhibitions names from a file (if *.txt or any other is not so important) and create exhibitions according to that list automatically.
When I was testing coppermine I could create all needed galleries (about 600) within PHPMyAdmin quite easily. It took less time that if I had to create each gallery manually. But the structure of EE is different so I don't think this is possible here at all (or I haven't found a simple way to do it).
Anyway, having an import function would be an improvement. But it's most important when you start with your EE from any other online or offline image administration system. For an existing installation I don't see much use for that function.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.