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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to create a skin and container package?How to create a skin and container package?
Previous
 
Next
New Post
5/15/2012 1:59 PM
 

I've found a bunch of tutorials that discuss how to create a package from an existing/installed skin in the Host -> extensions page. This requires I first select my skin on my site and click "create package"... how can I select my skin if I haven't installed it yet?! 

I built a skin out of html files, and added them to the Portals/_default/Skins directory, then from Admin -> Skins clicked "Parse Skin Package" and was then able to apply the skin to various pages. But I don't see the skin on either Host or Admin -> Extensions pages. Did I add the files to the wrong directory?

The real question is how do I create a skin and container package from my html files? 

Thanks


 
New Post
5/15/2012 3:33 PM
 

In case anyone is wondering, here's what I did:

I took my existing, unparsed skin (just html, images and css - no .ascx files) and added a dnn manifest file (shortened version below). I zipped up all the files except the dnn manifest, then added the manifest file to the .zip file (I read that's the right way, not sure). Then I installed it just like any other module/package.

<dotnetnuke type="Package" version="5.0">
    <packages>
        <package name="DotNetNuke.EmpPortal-Blue" type="Skin" version="1.0.0">
            <friendlyName>EmpPortal-Blue</friendlyName>
            <description />
            <owner>
                <name>DotNetNuke</name>
                <organization>DotNetNuke Corporation</organization>
                <url>www.dotnetnuke.com</url>
                <email>support@dotnetnuke.com</email>
            </owner>
            <license>license info here
            </license>
            <releaseNotes>There are no release notes for this version.</releaseNotes>
            <components>
                <component type="Skin">
                    <skinFiles>
                        <skinName>EmpPortal-Blue</skinName>
                        <basePath>Portals\_default\Skins\EmpPortal-Blue</basePath>
                        <skinFile>
                            <name>index.htm</name>
                        </skinFile>
                        <skinFile>
                            <path>images</path>
                            <name>bannerEmpPortal-Blue.png</name>
                        </skinFile>
                    </skinFiles>
                </component>
                <component type="Container">
                    <containerFiles>
                        <containerName>EmpPortal-Blue</containerName>
                        <basePath>Portals\_default\Containers\EmpPortal-Blue</basePath>
                        <containerFile>
                            <name>TitleNoTitle.htm</name>
                        </containerFile>
                    </containerFiles>
                </component>
            </components>
        </package>
    </packages>
</dotnetnuke>

 
New Post
5/15/2012 4:28 PM
 

I changed the manifest file to include a separate package node for the containers. 

http://www.dotnetnuke.com/Resources/F... 


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to create a skin and container package?How to create a skin and container package?


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