Quote from: splittingred at Dec 02, 2008, 11:00 PM
Quote from: rthrash at Dec 02, 2008, 09:50 PM
I see where Bob’s coming from though. He wants the defaults to be the initial defaults in what he’s perceiving as something that users are going to change. And inevitably an upgrade will wipe out their settings so we should probably chat about this some more. I smell lots of support requests on the horizon!
I personally agree with Jason, and think that "default" properties are default by provider state and not by user.
If there are settings that the user is going to change, why not make them System Settings? Those are more appropriate for user-adjustable settings.
I imagined that they could be "default" properties for a particular site. I’ve got over 70 properties for SPForm and many of them might be changed often as users decide to turn spam-proofing options like hidden field, timer, require mouse or keyboard, captcha, etc. on and off and different clients the developer serves would certainly want different options (especially about which violations result in a user warning). The five SMTP properties might need to be set on one site but not another. I’d hate to saddle a site with that many additional system settings or to make the user type in a preposterously long snippet call that might eat up a lot of time and be frustrating to debug.
If there are "default" options that we don’t want the user to mess with casually, they can be left out of the grid and set the old-fashioned way with the ternary operator in the snippet.
It’s so much easier to change properties in the grid than to edit multiple snippet calls, not to mention the potential for typos, single quotes, missing quotes, forgotten ampersands, and RTE mischief. And, let’s face it, some users *will* change them in the grid, update, and then ask us why all their carefully considered settings were trashed. I hate to be saying to end users: We have this great new, very convenient grid for editing snippet properties -- don’t use it.
It seems like it would be possible during a package install to have an option to check for current properties, save them, merge in any new ones, and then set them.