featureSetting in config file will not display

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/20/2010 10:01:16 PM
Gravatar
Total Posts 355

featureSetting in config file will not display

I'm working on a custom feature for a client site; I've got the gist of how to create feature settings via the admin, but I'm not having quite the same luck with creating feature settings in the config file.  Here's what I've got in the .config file:

 

<?xml version="1.0" encoding="utf-8" ?>
<featureDefinitions>
<featureDefinition
featureGuid="4ce815b5-3e90-4f51-acbe-023c68abedfc"
supportedDatabases="MSSQL"
resourceFile="MegaGalleryResource"
featureNameReasourceKey="FeatureName"
controlSource="MegaGallery/MegaGalleryModule.ascx"
sortOrder="100"
isCacheable="true"
defaultCacheTime="0"
excludeFromFeatureList="false"
isSearchable="false"
searchListNameResourceKey=""
deleteProvider="HtmlContentDeleteHandler"
icon="blank.gif"
>
<featureSetting
resourceFile="MegaGalleryResource"
resourceKey="MegaGalleryGridHeightSetting"
defaultValue="3"
controlType="TextBox"
controlSrc=""
helpKey=""
sortOrder="130"
regexValidationExpression="^[1-9][0-9]{0,4}$"

/>

<featureSetting
resourceFile="MegaGalleryResource"
resourceKey="MegaGalleryGridWidthSetting"
defaultValue="4"
controlType="TextBox"
controlSrc=""
helpKey=""
sortOrder="140"
regexValidationExpression="^[1-9][0-9]{0,4}$"

/>

</featureDefinition>
</featureDefinitions>

 

When I run setup/default.aspx, the feature registers correctly, but does not show the feature settings.  I'm not sure what I've done incorrectly - can someone point out what's wrong with this, or suggest what to set aright? TIA

8/20/2010 10:30:33 PM
Gravatar
Total Posts 355

Re: featureSetting in config file will not display

NM - cleaned previous references to the new feature out of the DB, re-ran script, worked aces. 

You must sign in to post in the forums. This thread is closed to new posts.