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  |  

Affordable ASP.NET Hosting Service
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

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
Verndale
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Packaging multiple modules together
Previous Previous
 
Next Next
New Post 6/6/2008 4:07 AM
Resolved
User is offline r_honey
133 posts
9th Ranked


Packaging multiple modules together 

I have a couple of modules, that always need to be installed together. So, I decided to package them together, and make them have a common manifest file.Both of their files go to the same folder in DesktopModules folder.

I was able to install them together through a common manifest, by having 2 <folder> nodes in the main <folders> nodes, and specifying the same <foldername> for both. However,, the manifest file also allows to have multiple <module> nodes in <modules> section of a single <folder>. Then, I modified the manifest, and put both the modules in separate <module> sections inside a <modules> of a <folder> node.

However, this time, only a single Module got installed. Is it possible to have multiple modules this way?? If no, then why is there a <modules> section in a <folder>, and not just a single <module>???

 
New Post 6/6/2008 8:47 AM
User is offline Brian Dukes
476 posts
www.engagesoftware.com
8th Ranked


Re: Packaging multiple modules together 

The module nodes in the manifest file correspond to module definitions (that is, when you drop the module on a page, each definition will be a separate module, like with the Blog module) while the folder nodes correspond to desktop modules (that is, what shows up on the Module Definitions page of the Host menu and in the drop down list to add a new module).  I think you want to put your second module as a second folder node, rather than as a module node.

Let me know if that makes sense,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 6/6/2008 9:02 AM
User is offline r_honey
133 posts
9th Ranked


Re: Packaging multiple modules together 

Yes, that surely does make sense!!! Thanx a lot...

But there is still some sense left to be made out of it :-)

I was never pretty clear with the difference between the concept of a Desktop Module & its ModuleDefinition. Now, I have some idea. So, that means that each <folder> node defines an independent module. But with <modules> nodes, you can set-up a kind of different sub-views of your entire module. Is that true??

If yes, then the Security Permissions (like Edit etc.) would be defined at the Module Definiton level for each of these sub-views, or we can define permissions independently for each module corresponding to a <module> node?? Can you explain the difference between Definitions & Desktop Module more clearly, or atleast point me to a resource doing so??

 
New Post 6/6/2008 10:37 AM
Accepted Answer 
User is offline Brian Dukes
476 posts
www.engagesoftware.com
8th Ranked


Re: Packaging multiple modules together 

It is definitely a confusing concept, it's hard to talk about because the terms overlap each other somewhat.

A Desktop Module (which I'll just call a module) is the largest unit of modularity in DNN.  It is what you see in the Add New Module drop down list, and it is what you see in the Host->Module Definitions page.

A module contains Module Definitions (which I'll just call a definition).  The vast majority of modules have only one definition; however, modules such as the core Blog module make use of the ability to have multiple definitions.  When you drop a Blog module on a page, you will actually get four or five different module instances (which I'll just call a instance), which are the things you can see on the page with borders, that can individually be moved around or deleted.  Again, most modules will only produce one instance when dropped on a page, but if it has multiple definitions, each of those definitions will appear as a separate instance.

A definition constains Module Controls (which I'll just call a control).  These are different views within the definition.  In a simple module you will have a view control and an edit control.  This is the level where security permissions take place.  You want to make sure that your edit control is set as an Edit type of control, so that only users who have permission to edit that module can see the control.

In a manifest file, modules are folders, definitions are modules, controls are controls, and control permissions are set as types.

I hope this made some sense and was able to help you grasp these concepts a bit better.  Let me know if you have any further questions.


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 6/6/2008 11:51 PM
User is offline r_honey
133 posts
9th Ranked


Re: Packaging multiple modules together 

Yes, that cleared almost every doubt I had!!! Could-not think of any follow-up question right now (Such good was the explanation)!!

Thanx

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Packaging multiple modules together
 


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.

 


Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
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

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