Feature Request #678

jcom.preset

Added by Renaud Rubiano over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:2011-02-04
Priority:HighDue date:
Assignee:Théo de la Hogue% Done:

0%

Category:-Spent time:-
Target version:MVC for 0.6
Branch:

Description

I would like that jcom.preset does not complain if it doesn't found a xml file on loading.
I explain my request :
I want to manage my presets file in several projects, so if I have 20, or 50 modules in my project, I don't want to have 20 or 50 empty xml preset files load on startup. I made a little mechanism in every modules, so when I create my first preset, this create a file where I want (in my project folder).
Like that, I can manage to load the xml-file I want when I want, and it shouldn't affect the default utilisation for other users.

History

#1 Updated by Théo de la Hogue over 6 years ago

  • Status changed from Assigned to Resolved

Hi Renaud,

I've added a "load_default" attribute (default : 1) to load or not the default preset file.

Is this resolved the feature ?

best,
TO

#2 Updated by Renaud Rubiano over 6 years ago

  • Status changed from Resolved to Closed

yes, it's a good workaround. It could be better more logic to only do nothing and not complain if there is no preset for the module, but it works for me with your proposition.

Also available in: Atom PDF