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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Packaging multiple modules togetherPackaging multiple modules together
Previous
 
Next
New Post
6/6/2008 6:07 AM
 

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 10:47 AM
 

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
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
6/6/2008 11:02 AM
 

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 12:37 PM
Accepted Answer 

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
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
6/7/2008 1:51 AM
 

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
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Packaging multiple modules togetherPackaging multiple modules together


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