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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Module Package Creation IssueModule Package Creation Issue
Previous
 
Next
New Post
6/25/2007 5:02 PM
 

 

 

Hi,

I was creating module package (.zip file) with all nodes' values correctly in .dnn file. After creating new module using this .zip file, it is creating wrong directory structure in desktop module folder

In .dnn file node is like this

<file>
          <name>ViewWeatherInfo.ascx</name>
  </file>.

 so it should paste file in DesktopModules/<ModuleName>/ViewWeatherInfo.ascx but its creating it like this DesktopModules/<ModuleName>/<ModuleName>/ViewWeatherInfo.ascx. Rest other files are going in thier proper place (resource, library, App_Code).

Will be grateful if anyone having any idea to do this properly.

 
New Post
6/26/2007 12:58 AM
 

What do you have for your FolderName attribute in the XML file?


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
6/26/2007 1:57 AM
 

This is the .dnn file (with single file only)

<dotnetnuke version="3.0" type="Module">
  <folders>
    <folder>
      <name>WeatherInfo</name>
      <description>A WeatherInfo module</description>
      <version>01.00.00</version>
      <businesscontrollerclass>ABC.Modules.WeatherInfo.WeatherInfoController</businesscontrollerclass>
      <modules>
        <module>
   <friendlyname>WeatherInfo</friendlyname>
          <cachetime>60</cachetime>
          <controls>
            <control>
              <src>DesktopModules/WeatherInfoViewWeatherInfo.ascx</src>
              <type>View</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>Edit</key>
              <title>Edit Content</title>
              <src>DesktopModules/WeatherInfo/EditWeatherInfo.ascx</src>
              <type>Edit</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>Settings</key>
              <title>WeatherInfo Settings</title>
              <src>DesktopModules/WeatherInfo/Settings.ascx</src>
              <type>Edit</type>
              <helpurl></helpurl>
            </control>
          </controls>
        </module>
      </modules>
      <files>
        <file>
          <name>ViewWeatherInfo.ascx</name>
        </file></files>
    </folder>
  </folders>
</dotnetnuke>

 
New Post
6/26/2007 4:19 AM
 

This will happen if you zip the module directory instead of the individual files in the zip folder. When creating the zip file drag and drop the individual files to it instead of the module folder.

In other words if you open your zip file and see a directory there instead of the individual files - you packaged it wrong.

I hope this makes sense,

Mike


Kist Enterprises
www.kistenterprises.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Module Package Creation IssueModule Package Creation Issue


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