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 ExtensionsModulesModulesMultiple Modules in one manifest - files with same nameMultiple Modules in one manifest - files with same name
Previous
 
Next
New Post
2/23/2010 2:42 PM
 

Hi,

I am working on deploying 12 modules to the same system.  Each module has the same landing control View.ascx.  Is there a way to have a nested structured within the zip file (and thus the manifest)?  Or is there a way to accomplish this without changing all of the file names?

Thanks,

Richard

 
New Post
2/23/2010 4:13 PM
 
you should organize your modules by company name folder with module folders inside, this is easily sopported by DNN 4 and DNN5 installation wizard.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/23/2010 5:46 PM
 

Sebastian,

Thank you for your response.  I am not sure how to do that.  It is my understanding that all of the files have to be on the "root" of the zip file.  If you don't, then the Installer can't see the files.  For example, I tried putting the files in the following structure within the zip file.

Module_1
----View.ascx
----View.ascx.cs
Module_2
----View.ascx
----View.ascx.cs
 

Then in the DNN file I put the following:

        <component type="File">
          <files></files>
            <basepath>DesktopModules\Module_1</basepath>
              <file>
                <sourceFileName>/Moudle1/View.ascx</sourceFileName>
                <name>View.ascx</name>
            </file>
            <file>
                <sourceFileName>/Moudle1/View.ascx.cs</sourceFileName>
               </name>View.ascx.cs
            </file>          
        </component>

        <component type="File">
          <files></files>
            <basepath>DesktopModules\Module_2</basepath>
              <file>
                <sourceFileName>/Moudle1/View.ascx</sourceFileName>
                <name>View.ascx</name>
            </file>
            <file>
                <sourceFileName>/Moudle1/View.ascx.cs</sourceFileName>
               </name>View.ascx.cs
            </file>          
        </component>
 

When I tried to install the package, it gave me an error saying that it could'nt find the files.  If I have to put all of the files into one directory, how can I have multiple View.ascx files?

Thank you for your help,

Richard

 

 
New Post
2/23/2010 5:50 PM
 

Please excuse the mal-formed XML.  I had a tough time getting it into the editor.

 
New Post
3/1/2010 5:22 PM
Accepted Answer 

I have figured it out. Instead of using the <sourcefilename> tag, just use the <path>tag.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesMultiple Modules in one manifest - files with same nameMultiple Modules in one manifest - files with same name


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