scripts dependencies when using the new "folders" feature

Started by Monsieur OUXX, Mon 24/02/2014 07:30:06

Previous topic - Next topic

Monsieur OUXX

Hello everyone.

I'm using 3.3.0, and I put some of my (many) scripts in folder, to tidy up my project.

My two questions :
- I can only see how to create folders at the top of the scripts list - that is: in first position of a folder or subfolder. I can't seem to find how to create, let's say, the folder at the end of the scripts lists, after some individual scripts. Is it possible?
- Dependencies: does the dependencies order still rely on the order of the scripts in the list (if all the folders were flattened)?
 

Khris

Did a quick check and apparently, folders are always on top of root scripts. You can change the order of folders though by moving a folder inside another, then back into the Scripts node. This will put the folder behind other folders.
I'm assuming the order is the one they appear in the tree, regardless of the folders, yes.

The more important question though: who cares? Why don't you just try it and make some inferences once something unexpected happens? :)

Monsieur OUXX

Quote from: Khris on Mon 24/02/2014 11:39:30
The more important question though: who cares? Why don't you just try it and make some inferences once something unexpected happens? :)

Well at the moment I'm scripting several features that rely on recursive functions, so I'd rather not misdesign my dependencies.
Thanks for the confirmations!

 

SMF spam blocked by CleanTalk