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 ExtensionsModulesModulesDNN Collapsible PanelsDNN Collapsible Panels
Previous
 
Next
New Post
10/5/2012 6:23 AM
 

I have added DNN Collapsible Panels to my Settingx.ascx file and added an additional action in my View Page. 

Now when I click on the Link it correctly opens up my setting page and all the sections expand/collapse work fine. 

However, when I open the DNN Settings page, ( I do see the last tab as my settings page ) the DNN Panels just dont obey the Expand All/ Collapse All button in right corner. In all other DNN Tabs, the button works fine, only it does not work in my added setting page.

What could be wrong? Am I not adding the Panels properly?

Please help

 
New Post
10/5/2012 9:30 PM
 

If I understand your problem correctly this behavior is most likely caused by calling the function dnnPanels in your Javascript code in Settings.ascx when initializing your module's settings control. Although that would be be the normal practice in stand-alone module control code, your custom Settings.ascx markup will be automatically injected into a place holder in the DNN settings control (see admin/Modules/ModuleSettings.ascx). Since the DNN settings control handles initialization of its panels as well as your custom settings control's panels, there will be a conflict if you try to initialize your own settings control's panels.

I also have not been able to create a custom module settings control which adds additional tabs to the DNN settings control.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
10/6/2012 12:40 AM
 

Well, after a lot of trial & error, I could see that the issue was because of the jQuery, as you have also suggested. I removed the jQuery script code and it starts working fine now. However the Expand All / Collapse All button still does not work for my settings Tab, where as it works ok for other tab.

Any suggestion? What code should I insert, that will work only for Expand All / Collapse All button ?

I have taken code from dnn uxguide.dotnetnuke.com. There separate code is avialable for Tabs & Panels but, I would like to have a Nested Tab & Panel code example, like the DNN had done in Settings Control OR Admin or Host Settings Page. Any help?

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN Collapsible PanelsDNN Collapsible Panels


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