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.0pack two modules in one module/.zip filepack two modules in one module/.zip file
Previous
 
Next
New Post
8/2/2008 11:40 AM
 

hi,

i'm now developing two modules. one is a submodule [of module that i previous developed] and the second is just a simple dnn module. company which i'm developing for wants this two modules in one '.zip' or even as a one module. can anybody explain me how to do that? is it possible at all? i've trying something with google but nothing help me. thanks in advance ;)

greetings,

gesser

 
New Post
8/2/2008 3:53 PM
 

Hey gesser,

You can put two modules into one with your manifest (.dnn) file by using two "folder" elements.

Example:

<dotnetnuke version="3.0" type="Module">
    <folders>
        <folder>
            <name>Engage: Example</name>
            <friendlyname>Engage: Example</friendlyname>
            <foldername>EngageExample</foldername>
            <modulename>Engage: Example</modulename>
            <description>An Example module from Engage Software (www.engagemodules.com).</description>
            <version>01.00.00</version>
            <businesscontrollerclass>Engage.Dnn.Example.FeaturesController</businesscontrollerclass>
            <dependencies>System.Web.UI.ScriptManager</dependencies>
            <resourcefile>Resources.zip</resourcefile>
            <modules>
                <module>
                    <friendlyname>Engage: Example</friendlyname>
                    <cachetime>0</cachetime>
                    <controls>
                        <control>
                            <src>DesktopModules/EngageExample/Example.ascx</src>
                            <type>View</type>
                            <supportspartialrendering>true</supportspartialrendering>
              <helpurl>http://www.engagemodules.com/Support.aspx</helpurl>
                        </control>
                    </controls>
                </module>
            </modules>
            <files>
                <file>
                    <name>EngageExample.dll</name>
                </file>
      </files>
        </folder>
    <folder>
      <name>Engage: Example2</name>
      <friendlyname>Engage: Example2</friendlyname>
      <foldername>EngageExample2</foldername>
      <modulename>Engage: Example2</modulename>
      <description>An Example2 module from Engage Software (www.engagemodules.com).</description>
      <version>01.00.00</version>
      <businesscontrollerclass>Engage.Dnn.Example2.FeaturesController</businesscontrollerclass>
      <dependencies>System.Web.UI.ScriptManager</dependencies>
      <resourcefile>Resources.zip</resourcefile>
      <modules>
        <module>
          <friendlyname>Engage: Example2</friendlyname>
          <cachetime>0</cachetime>
          <controls>
            <control>
              <src>DesktopModules/EngageExample/Example2.ascx</src>
              <type>View</type>
              <supportspartialrendering>true</supportspartialrendering>
              <helpurl>http://www.engagemodules.com/Support.aspx</helpurl>
            </control>
          </controls>
        </module>
      </modules>
      <files>
        <file>
          <name>EngageExample2.dll</name>
        </file>
      </files>
    </folder>
    </folders>
</dotnetnuke>

Hope that helps!

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
8/4/2008 3:41 PM
 

ok, and what when these 2 modules have files which has the same name - for example both modules have stylesheet in file called 'module.css'.  what then?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0pack two modules in one module/.zip filepack two modules in one module/.zip file


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