Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Use Existing Module -- Settings not copied
Previous Previous
 
Next Next
New Post 1/23/2007 7:13 AM
User is offline Fooberichu
340 posts
www.seeleyware.com
8th Ranked


Use Existing Module -- Settings not copied 

I'm developing a custom Menu builder control and want to be able to add it to one page, then copy it to new pages from there on out.  It references the Module ID appropriately, but the settings do not copy (which is a problem because the menu knows if it needs to render as a "menu" or as a "treeview").  I have default settings to render it as a tree with no formatting, but again, if I've already set all the parameters in the base page, i'd really like if it copied everything.

Any ideas what i'm missing (ie, some function or interface I need to implement to copy the settings?).

-- Fooberichu


-- Fooberichu
http://www.seeleyware.com
 
New Post 1/23/2007 7:51 AM
User is offline Charles Nurse
2631 posts
5th Ranked










Re: Use Existing Module -- Settings not copied 

There are two types of settings,  ModuleSettings and TabModuleSettings.

The first ModuleSettings apply to all instances of a Module, the second only applies to the current instance.

So, in order to get the settings the same in each instance you need to create the setting as a ModuleSetting.


Charles Nurse
DotNetNuke Trustee
DNN Developer Zone
 
New Post 1/23/2007 7:57 AM
User is offline Fooberichu
340 posts
www.seeleyware.com
8th Ranked


Re: Use Existing Module -- Settings not copied 

Sorry, I apologize... let me clarify my intentions.  I actually knew about those two different settings, but here is what I'm thinking of and maybe what I want isn't possible:

I want to initially create the menu with settings (I am using TabModuleSettings, not Settings), but then I *may* actually want them to look differently, maybe not.  I know it sounds weird, but maybe on one page with that menu structure, I want it to be a treeview with styles x,y,z; then on another page, I want it to show up with the exact same items, but use a horizontal menu with styles mx, my, mz.  On that note, I want to be able to add/edit/delete items and have it affect all pages associated with this module without affecting the individual styles that I may have overridden on other pages.

Does that make sense?  Maybe I'm thinking too far out of the box and going against the grain on this one.

Thanks for your quick response though.

-- Fooberichu


-- Fooberichu
http://www.seeleyware.com
 
New Post 1/28/2007 9:30 AM
User is offline Fooberichu
340 posts
www.seeleyware.com
8th Ranked


Re: Use Existing Module -- Settings not copied 

Thinking back to the ModuleSettings vs TabModuleSettings... it makes perfect sense to do it using ModuleSettings and not TabModuleSettings.  I think I was just overthinking the problem and didn't realize how stupid that sounded.  I'm switching it to straight ModuleSettings now.

-- Fooberichu


-- Fooberichu
http://www.seeleyware.com
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Use Existing Module -- Settings not copied
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP