When I create a "Portal Template", .ascx and .js files are not copied in DotNetNuke 5.6.1

401 Views Asked by At

When I create a "Portal Template", .ascx and .js files are not copied to template file(neither to xml nor to resource file)?

DotNetNuke version 5.6.1

Any ideas why? I hope it is some configuration problem?

2

There are 2 best solutions below

1
On

Are these .ascx and .js files in the portal's directory, or are you referring to the modules' files (in DesktopModules)? DesktopModules aren't included in a portal template, you'll have to manually install any required modules for the portal template to work. I would think you'll also have to do the same with skins/containers, but the portal template may get skins/containers that are specific to a portal.

If you're creating new DNN instances, you can put module packages in the /Install/Module folder, and they'll get automatically installed with DNN, and then be available to your portals.

0
On

You have to make sure your skin package includes those files.

open dnn file in your skin package and make sure you have entry for these files.

Best way is to create package by using create package wizard.

You have to go to Host > Extensions > edit your skin and at the bottom right you will find link for create package wizard