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.0dnn manifest - specific folders locations to deploydnn manifest - specific folders locations to deploy
Previous
 
Next
New Post
4/12/2006 10:28 AM
 

I have a custom control that I want to deploy along with my module and I want to include it in my .dnn manifest.I need to copy a whole specific directory to the /controls directory of the portal and some dlls. What is the best way to instruct my .dnn manifest to copy a directory to a specific location, like the /controls directory?

thank you for your help

 
New Post
4/12/2006 12:48 PM
 

The trick to this is remembering that any path that is specified in a file node of the DNN module manifest is relative to the module's path. So, if you have specified the following in the manifest:

<dotnetnuke version="3.0" type="Module">
    <folders>
       <folder>
          <name>WESNet_Centers</name>
          <foldername>WESNet\Centers</foldername>
   . . . . .
          <files>
               <file>
                  <path>..\..\controls</path>
                  <name>mycontrol.ascx</name>
               </file>
           . . . . .
          </files>
       </folder>
     </folders>
</dotnetnuke>

then mycontrol.ascx should end up in the website's control's folder.  As far as copying entire folders and their contents, I have not tried this but believe it can be accomplished by placing the folders and their contents into another zip file and including it in a <resourcefile> node:

<dotnetnuke version="3.0" type="Module">
    <folders>
       <folder>
          <name>WESNet_Centers</name>
          <foldername>WESNet\Centers</foldername>
          <resourcefile>MyResources.zip</resourcefile>
. . .

What I don't know is if you can specify into what folder this resource file will be unzipped. The above DNN manifest would unzip it into ..\DesktopModules\WESNet\Centers. There does not appear to be a way to specify its destination path.

As for the .dll assemblies, simply specifying one in a <file> without a path specification will place it in the website's \bin folder.

When I recently uploaded a custom user control (for use in several modules) to a DNN site, I was not sure if it should be placed in the website's \controls folder or if the \controls folder should be reserved for DNN core controls only.  I could not find any standard for this, but finially decided to place it under  \DesktopModules\WESNet\controls\imageupload.ascx as I thought it might later become a problem if the core folder structure was updated.


 

 


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
4/12/2006 1:50 PM
 
I´ll try your suggestion. thks
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0dnn manifest - specific folders locations to deploydnn manifest - specific folders locations to deploy


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