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 ExtensionsModulesModulesSpecifying Additional Files When Creating Install PackagesSpecifying Additional Files When Creating Install Packages
Previous
 
Next
New Post
5/5/2010 6:15 PM
 

I am using DNN 4.9.x and I have written a module I wish to distribute.  The hitch is that, when I use "Create Module Package" in Host > Module Definitions, it creates a package fine, but I would like to add some additional files, located outside the source code directory (e.g. some files to place in the "Portals/0/images" directory).

Could someone explain this or point me to a resource explaining how to have additional file included (and installed) when creating the install package?  I have been examining the .dnn files, but no luck figuring out how to do this.


Regards,
Don

 
New Post
5/5/2010 7:46 PM
 
you will need to add the files to the zip and the manifest (.dnn file) inside.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/6/2010 11:05 AM
 
Sebastian Leupold wrote:
you will need to add the files to the zip and the manifest (.dnn file) inside.

Thanks Sebastian!  That worked fine. 

One remaining question though:  As I am attempting to place files within the current portal (e.g. "/Portals/0"), I have been using a relative path to get the job done within the manifest, like "../../Portals/0/".  But, instead of specifying "/Portals/0/", I would like to use a code like the [app_code] token I see elsewhere in the .dnn manifest, so I can avoid specifying the "0" in "/Portals/0/". 

I've tried [Portal:HomeDirectory], but that doesn't work and haven't been able to find a reference giving that information.  Do you know the right token?

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesSpecifying Additional Files When Creating Install PackagesSpecifying Additional Files When Creating Install Packages


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