I'd like to set "Show Title" on HTML modules to be off by default.
I tried creating a feature setting using the following parameters:
Resource File: ResourceGroup Name Key: MainSettingsSetting Key (no spaces), use the same key for the label in your Resource file: ModuleSettingsShowTitleLabelControl Type: CheckboxControl Source: [blank]Setting Value: falseSort Order: 500Help Key: [blank]Regex Validation Expression: [blank]
This didn't seem to have any effect though.
Show Title is not a feature specific setting it is part of all features that is why it is on the general tab in module settings and you cannot just add arbitrary settings to existing features.
You can add a setting in user.config like this:
<add key="ShowModuleTitlesByDefault" value="false" />
and that will make the ShowTitle setting be false on newly created instances of all features (not just html) but will not affect existing ones that are already true.
You could update all existing Html content instances to not show the title by using a sql query
UPDATE mp_ModulesSet ShowTitle = 0Where FeatureGuid ='881e4e00-93e4-444c-b7b0-6672fb55de10'
Hope that helps and thanks for the coffee!
Aha. Even better. Thanks and you're welcome!