Adding folder to custom DNN extension - dotnetnuke

I am creating a custom extension for DNN using Christoc's DotNetNuke Module and Theme Development Template
I add folders to my extension project and i do a release build, once i install the extension on my site the folders are not there. These folders are part of the extension project. Do i need to add them as resource to the extension or something? because my JavaScript folder and CSS folder are there once installed and i created these folders manaully my self also
Thank You

You need to add the Folder, or the FILE TYPES in the folder to the BuildScripts within my project templates. Look at the ModulePackage.targets file.
Chris

Related

Include custom folders using Christoc's Theme Template for DNN

I'm trying to build a DNN Skin with Christoc's Template and i need to include some new folders i created into the install zip.
I'm inserting this tag in SkinPackage.targets
<InstallInclude Include="**\<FOLDER_NAME>\*.*" />
But when building the install zip, the folder is not being included.
Am I doing something wrong?

Sitecore:Remove Files from existing package in Sitecore

Can any one suggest me on how to remove files from a existing sitecore package(Sitecore Media Framework Brightcove rev. 130924
) so that it contains only sitecore items and no sitecore files(dll or config files or xml controls that we see in sitecore modules folder).
And we will be deploying the files manually after installing this new package .
Thanks,
Suhas
It's a zip archive. Inside it you will find another zip; "package.zip". Inside that package file, you will find a root folder named "files". Remove that folder, and zip the whole think back up again.
Should be all you need.
Documentation here: http://sdn.sitecore.net/Articles/Administration/Installing%20Modules%20and%20Packages.aspx
You can delete files folder direct from Zip file.

How do I add a new directory via DNN skin installation?

How do you add a new directory to DNN upon skin install? Is through the reference in the manifest?
Yes, you can create a new directory through a manifest file. This applies to modules, skins - anything that uses a manifest file.
You will need to use the fileComponent in the manifest file, and specifically, the basePath element in order to specify where in the website your files will be installed. You can also install in relative paths.
See more here : http://www.dotnetnuke.com/Resources/Wiki/Page/Manifest-File-Component.aspx

Dnn Module Packaging Question

I have folders inside a module which I developed and there are many files inside them.
How can I package the folders with files?
Should I archive the folders in a zip file? If so, how can I extract them again?
You have a few options.
Include a resources.zip file, that will be extracted for you upon installation, just be sure to include the resources.zip in your .dnn file list.
If you are using a DNN 5.x manifest, you could keep the folder structure within the module and just use the folder names items in the 5.x manifest.

Deploying a XAP file into ~/ClientBin using VSeWSS

I have a SharePoint (using VSeWSS 1.3) project that creates a WSP file which installs my custom content types. One of the type also installs a custom version of DispForm.aspx which is hosting a Silverlight control, located in the ~/ClientBin as a XAP file.
Is there a way in the ListDefinition.xml file to instruct VSeWSS to deploy my XAP file into ~/ClientBin as part of the WSP solution? I know how to deploy images to the TEMPLATES\images folder, but not to ~/ClientBin .
Philipp
To get the XAP file into the ClientBin directory you could try this. Let the solution deploy the XPA file to a folder within the TEMPLATE directory (12 Hive). With a FeatureRecevier that triggers on the FeatureInstalled event you could then copy the XAP file from its location in the sub folder of the TEMPLATE directory to the ClientBin folder.
The FeatureUnistalled event can be used to remove the XAP file from the ClientBin folder when the solution is retracted.
WSP can place the Files in following locations
Any Sub Folder inside 12 Hive
GAC
Bin directory of the Web Application.
Considering the above I recommand you to Change the Location where you keep the XAP file. You can think about placing it in the _Layouts. That is how I Did

Resources