Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesAdd Tabs (not pages) To Module Settings DialogAdd Tabs (not pages) To Module Settings Dialog
Previous
 
Next
New Post
8/18/2012 5:21 PM
 

I am working on a custom module, and I would like to add an additional "Tab" to the Settings dialog. (By "Tab", I do not mean page...I know that pages in DNN are called tabs, but that's not what I mean.) For instance, When you hover over the Manage button (once a module has been added to a page) and choose 'Settings', I would like to be able to add an additional tab to the dialog that appears.

My goal here is to allow the user to create and manage a collection of custom input fields that can be re-used over and over to create any number of unique forms on different pages.  I want to use the Settings tab to allow the user to choose fields from this collection when building a form, and I want another tab on which the user will manage their collection of input fields to be used across the entire portal. 

I am using the Visual Studio templates created by Cristoc found here.  I have added an additional user control to my project and added the necessary tags to the .dnn file, but I cannot get this control to render when I go to the 'Settings' section after I have added my module to a page.  The control appears in the Module Defintions section when I go to Host > Extensions and click on the edit icon (the pencil and paper).

I suppose that I have two questions at this point.  First, is it even possible to add additional tabs to the Settings dialog?  Second, if so, then why isn't my control rendering?

Here is the block that I have added to the ModuleControls section of my .dnn file:

                 <moduleControl>
                    <controlKey>Fields</controlKey>
                    <controlSrc>DesktopModules/CustomForms/Fields.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>CustomForms Fields</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                    <viewOrder>0</viewOrder>
                  </moduleControl>

I feel like I'm missing something very simple here.

 
New Post
8/20/2012 6:18 AM
 

Hi

In order to view your new edit control on manage mouse over, you need to add a new action in your dafault view page.

You can find  'public ModuleActionCollection ModuleActions' under optional interface region of view page. Under this you need to add new action,

For example: Actions.Add(..,..,..,)

 

Thanks
Sibabrata Dash
Mindfire Solutions

 
New Post
8/20/2012 12:32 PM
 

That is an excellent solution, but I believe that you misunderstood my question.  I do not want a link to appear in the Manage drop down.  I want to add a new "Tab" to the dialog that appears when you click the "Settings" link in the Manage drop down.  Any Suggestions?

 
New Post
8/22/2012 9:59 AM
 

Hi Jhoy,

Dnn is allowing to view only default setting page. This is nothing but a user control page which is displaying page settings tab, Module settings tab and your default Settings tab. If you want to add one more control page to this then it will be applied to all dnn module settings, which may crash your website.

 

Thanks
Sibabrata
Mindfire Solutions

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesAdd Tabs (not pages) To Module Settings DialogAdd Tabs (not pages) To Module Settings Dialog


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out