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, ...Newbie with major headachesNewbie with major headaches
Previous
 
Next
New Post
4/17/2008 3:44 PM
 

Well, I'm just starting out and I would like to know why something isn't working for me. I am able to edit the htm document and parse a skin in the uploader. When i have the css in the htm file, the tables and divs all come out right. One of my problems is that the Skin.css file doesn't seem to be added to the htm file when I have no css within the htm file itself. The table or div that is in the .htm file is just plain without the css from the Skin.css file. Also another problem. I've been looking and looking and i cannot find anything that can explain well enough for me on how to alter the tokens with css. All i was trying to do was change the color of the [COPYRIGHT] token and for some reason i can't get it to work no matter how hard i try. And please don't just point me to the dotnetnuke skinning guide, i have that already and pretty much have no clue how to use it. what i came up with did not work so if someone could explain how to set up the xml file for the copyright token to allow the token to use the css properties located in the Skin.css file... this would all be grately appreciated!

 
New Post
4/17/2008 10:18 PM
 

As you pointed out, the answer to all of these questions are indeed in the Portal Skinning Guide.  ;)

You may want to change the name of your CSS file from "Skin.css" to "skin.css".  I am pretty sure that a regular expression is used to find that file and import it into your skin.  That being said, make sure that you do not explicitly leave a reference to your CSS file in your skin (HTML) file.  This can cause havok in terms of proper CSS inheritance.

In order to change the default properties of your skin objects, you need to include an XML file.  For a global change, name the XML file "skin.xml".  Then, put something like this into the skin.xml file:

<Objects>
    <Object>
        <Token>[COPYRIGHT]</Token>
        <Settings>
            <Setting>
                <Name>CssClass</Name>
                <Value>YOURCLASSNAME</Value>
            </Setting>
        </Settings>
    </Object>
</Objects>

Now, when you upload or re-parse your skin package, the COPYRIGHT skin object will pick up your CSS class.  The tokens and their appropriate settings are shown at the end of the Skinning Guide document.  For 3rd Party skin objects, you would need to consult their documentation.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
4/18/2008 12:27 AM
 

thanks alot for the reply and the help. Im starting to figure it all out now and just ur little tidbit of information helped alot. I figured out what i was doing wrong and now everything seems to be running smoothly, but i will definitely be back here when something doesn't go my way :-)

thanks again,

ttdwd

 
New Post
4/18/2008 9:45 AM
 

Your first skin is always the hardest, because you as the designer will not understand how or why everything fits together the way it does until the first time you complete a skin package the way you want it.  I know this all too well.

I am glad to help.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Newbie with major headachesNewbie with major headaches


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