Manoochehr
Manoochehr

Reputation: 331

Adding Custom Settings Tabs to Custom Module in Dotnetnuke (DNN)

I'm writing a new module in DNN 6 (Same question for DNN 5). By default you have some default tabs for settings in module settings section of any module you put in a particular page. For example in the picture below, we've got "module settings", "permissions" and "page settings".

enter image description here

The question is that how can I add more tabs (more than one) in settings section of the module. For examlple one tab for "general settings" and another one for "advanced settings".

Upvotes: 3

Views: 5187

Answers (2)

Eileen
Eileen

Reputation: 39


you just need add some code in the settings.ascx control, it will auto add a new tab in the setting section.

if you want to set a special name for your settings, just modify the node of *.dnn file:

<moduleControl>
<controlKey>Settings</controlKey>
<controlSrc>DesktopModules/YourModuleName/Settings.ascx</controlSrc>
<supportsPartialRendering>False</supportsPartialRendering>
<controlTitle>xxSetting(any name you want) Settings</controlTitle>
<controlType>Edit</controlType> <iconFile />
<helpUrl />
<viewOrder>0</viewOrder>
</moduleControl>

Upvotes: 1

atabrizi
atabrizi

Reputation: 918

you can add any code you need in ascx and add codes in code behinde in update and load methods. this code can help you: http://www.dotnetnuke.com/Community/Community-Exchange/view/question/id/240.aspx

Upvotes: 1

Related Questions