#55 switches in the config.xml used by the import.js script

open
Jin
5
2009-12-27
2009-12-27
Werner
No

In relationship to "2921339 - Modifying view settings via WebUI, gen. settings via WebUI", the first stage would be to introduce switches in the config.xml that can be read by the import.js.
What I would envision is that in the config.xml you can set flags like

Photo-build-directory=yes
Photo-new-root-directory=/home/Data/Photos

and in the import.js there is a function to read these properties:

if (get_config("Photo-build-directory") == "yes") {
....all the code to create a directory node under "Photos"
}

Next step would then to have a GUI that controls the config.xml, at least the parts that are meant to be user set.

Discussion