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 ExtensionsModulesModulesPackages vs. Additional Components.Packages vs. Additional Components.
Previous
 
Next
New Post
6/3/2010 12:17 AM
 
I have a set of modules that I have been developing for a few years for a specific site.  I am now trying to build a PA so that I can more easily distribute the module to other sites and for my own ability to keep track of versions.

The modules were developed prior to the Packages concept and were individual modules but all resided in the same DesktopModules folder and use the same Dataprovider and I have recently set up a web application project to get a single dll.   

It appears to me I can package this up with a single package that has multiple module components in it.  This lets there be a single install and uninstall point and the individual modules can be placed on separate pages as I intended.  However when using the "edit" of the extensions, there doesn't seem to be any way of displaying anything but the first module component in the package.  I currently have this running in my development environment set up by using a sql query to updating all of the desktopmodule records to point to the same package.   I get the individual modules in the dashboard dropdown but otherwise can't see them through any interface in DNN.

If I put them all in different packages in the manifest it seems to me that they will uninstall individually, potentially breaking something or at least not correctly uninistalling.  At any rate, I don't intend for the modules to be separately removable.

Is anyone aware of this gap in the extensions interface?  Am I doing something horribly wrong by having multiple <component type="Module"> in the manifest? 

Jeff Martin
MCSD C#
 
New Post
6/3/2010 12:49 PM
 
you may either package multiple modules using dependencies (though I am not sure, whether this will be respected on uninstall) or create a large module with multiple module definitions to show up in "add module" dropdownlist. However. publishing permissions in Admin :: Extensions can only copnfigured per module, not per definition (although this would make sense to me).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/3/2010 1:44 PM
 
What I have seen when I combine the modules into multiple module definitions under the same component, is that all of the modules drop on to a page when I add it.   I don't want my users to have to remove 6 modules from the page when they really want just one.  Let me know if I am doing that wrong.

The other downside of there not being a clear interface for multiple components/modules under one package is that I can't control setting some of them to Premium.  I only want certain of my modules to be accessible to all portals.

So just to clarify what I want:  If a package/extension has several components, I want access to edit them all.  I want to set them individually to premium or not.   I want them all in install together and uninstall together.

The database structure of DNN supports this, the manifest structure of DNN supports this, the admin extension module interface does Not.

Jeff Martin
MCSD C#
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesPackages vs. Additional Components.Packages vs. Additional Components.


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