Jeremy
 Nuke Active Member Posts:32

 |
| 04/16/2007 3:24 PM |
|
Thanks for the help I have another question. I am trying to configure my links to be a diffrent color and a few other things. I know this code does it:
< style type="text/css">
a:link {
color : #FFFFFF;
text-decoration : none;
}
a:visited {
color : #9932CC;
text-decoration : none;
}
a:hover {
color : #DAA520;
text-decoration : underline;
}
a:active {
color : #FF0000;
text-decoration : none;
}
style>
However a few questions. can I put this at the top of my skin file even though I can't put it in the header?
Second I would rather configure my separate style sheet. Here is an example of what I want that doesn't work. This is in my skin.css:
.topmenu
{
width: 775px;
height: 20px;
color:Green;
A:hover { color:red }
}
However VWD tells me that "A" is not a valid CSS property name. How do I do this? I have search all over the internet no luck.
Thanks again, Jeremy |
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/17/2007 7:33 PM |
|
Thank you very much.....You guys ROCK!!!
Thanks again, Jeremy Palmer |
|
|
|
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/19/2007 11:26 AM |
|
I though I understud this now but I am still struggling. Here is my code. What am I doing wrong. In my style sheet I have this code at the top:
.toplinks { font-size: 85%; text-decoration: none; color: #FFFFFF; }
A.toplinks:link, A.toplinks:visited { font:arial; color: #FFFFFF; text-decoration:line-through; } A.toplinks:hover { text-decoration: underline; color: #FFFFFF; }
A.toplinks:active { text-decoration: none; color: #FFFFFF; }
Then in my skin html I have this line:
So as I understand the code: I created the toplinks class I created how I want the links to look that fall in that class Then in the htm I am assigning a table cell to that class
What am I doing wrong? Thank you so much, Jeremy Palmer |
|
|
|
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/19/2007 1:10 PM |
|
how do I post html code without it converting it? |
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/21/2007 7:41 AM |
|
Thank you very much for offering to take a look at them. I am such a noob where is your email address?
thanks,
Jeremy |
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/24/2007 10:52 AM |
|
Lol I keep thinking I will figure this out. I am sending you my files now. I have no idea what I am doing wrong. Probaly somthing really easy...lol
I have not done web work in 8 years....taking me a while to get back into it.
Thanks again, Jeremy Palmer |
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
| 04/26/2007 4:27 AM |
|
Hello,
Okay this is what you need to do:
in the table row where it states class="toplinks"
change this to: id="toplinks"
Then in your CSS enter:
#toplinks { text-decoration: none; color: #FFFFFF; } #toplinks a:link, #toplinks a:visited { font:arial; color: #FFFFFF; text-decoration:line-through; }
#toplinks a:hover { text-decoration: underline; color: #FFFFFF; }
#toplinks a:active { text-decoration: none; color: #FFFFFF; }
This will style all the links in the table row,
Thanks,
|
|
Lee Sykes Site Administrator Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
Twitter: www.twitter.com/DNNCreative
 |
|
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/27/2007 12:58 PM |
|
You rock Lee thanks for the help.  I got it all working. That really gives you alot of power in how the site looks. The ability to class the links and change styles as needed is great. Thank you once again.
I have another question for you. I want to change the little plus and minus that dotnet nuke uses to maximize and minimize the container. I am just really at a loss as to how to do this. I know that the code in the ascx file is: dnn:VISIBILITY runat="server" id="dnnVISIBILITY" (with open and close brackets of course) I belive that you can referance this as a class if you want. dnn:VISIBILITY runat="server" CssClass="visibility" id="dnnVISIBILITY" (with open and close brackets of course) Lol but I am not sure that helps me. I think the answer lies in the container xml document that I have to create. However I have never done that before. I think something like this.
< Object>
< Token>[VISIBILITY]Token>
< Settings>
< Setting>
< Name>MinIconName>
< Value>??????????????????????????Value>
Setting>
< Setting>
< Name>MaxIconName>
< Value>???????????????????????????Value>
Setting>
<Settings>
Object>
With the question marks referancing the images I want to use some how.
Am I even on the right track?
Thanks again, Jeremy Palmer |
|
|
|
|
Andy Stephenson DNN Creative DNN Creative Staff
 Nuke Master VI Posts:169

 |
| 04/27/2007 2:51 PM |
|
Yes you are on the right lines, I haven't done this myself but it should be fairly easy to setup. Have a look at page 60 of the skinning documentation and it outlines the properties for the visibility token, it looks as though the default setting names are min.gif and max.gif, if you add the images you wish to use within your skin file and name them min.gif and max.gif this may work. For help with the XML documents and how it works check out the skinning tutorials from Issue no 5 & 6Hope this helps, Thanks, |
|
|
|
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/27/2007 2:58 PM |
|
Thanks I am testing it out now. I will post back once I have a solution or if I run into to much trouble. My main question is do I include the gifs in the container file or skin file...and lol I have page 60 of the skinning documentation sitting open on the floor next to me. Just not to sure on implementation...
I will post back in a few min with what I figure out
|
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/27/2007 3:24 PM |
|
Yeah that is what I thought. I tried the container folder and the skin folder both. no luck so far. Here is the code in my xml:
Here is the ascx code without the appropriate open and close tags so it will display: At the top I have this line:
Register TagPrefix="dnn" TagName="VISIBILITY" Src="~/Admin/Containers/Visibility.ascx"
Then at the proper location I have this line:
dnn:VISIBILITY runat="server" id="dnnVISIBILITY"
The skin works fine but displays the default little + and - sign. Now I am not sure what to try. Any ideas? Is there anything special I have to do in the ascx doc to make sure it pulls the xml document? |
|
|
|
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/27/2007 3:33 PM |
|
I notice that when I upload my container it shows this:
# Loaded package level attribute file: Container.xml # Loading skin object for token ACTIONBUTTON: Admin/Containers/ActionButton.ascx # Loading skin object for token ACTIONS: Admin/Containers/SolPartActions.ascx # Loading skin object for token BANNER: Admin/Skins/Banner.ascx # Loading skin object for token BREADCRUMB: Admin/Skins/BreadCrumb.ascx # Loading skin object for token COPYRIGHT: Admin/Skins/Copyright.ascx # Loading skin object for token CURRENTDATE: Admin/Skins/CurrentDate.ascx # Loading skin object for token DNN360MENU: DesktopModules/CISS.TransMenu/TransMenu.ascx # Loading skin object for token DOTNETNUKE: Admin/Skins/DotNetNuke.ascx # Loading skin object for token DROPDOWNACTIONS: Admin/Containers/DropDownActions.ascx # Loading skin object for token HELP: Admin/Skins/Help.ascx # Loading skin object for token HOSTNAME: Admin/Skins/HostName.ascx # Loading skin object for token ICON: Admin/Containers/Icon.ascx # Loading skin object for token LANGUAGE: Admin/Skins/Language.ascx # Loading skin object for token LINKACTIONS: Admin/Containers/LinkActions.ascx # Loading skin object for token LINKS: Admin/Skins/Links.ascx # Loading skin object for token LOGIN: Admin/Skins/Login.ascx # Loading skin object for token LOGO: Admin/Skins/Logo.ascx # Loading skin object for token MENU: Admin/Skins/SolPartMenu.ascx # Loading skin object for token NAV: Admin/Skins/Nav.ascx # Loading skin object for token PRINTMODULE: Admin/Containers/PrintModule.ascx # Loading skin object for token PRIVACY: Admin/Skins/Privacy.ascx # Loading skin object for token SEARCH: Admin/Skins/Search.ascx # Loading skin object for token SIGNIN: Admin/Security/Signin.ascx # Loading skin object for token SOLPARTACTIONS: Admin/Containers/SolPartActions.ascx # Loading skin object for token SOLPARTMENU: Admin/Skins/SolPartMenu.ascx # Loading skin object for token TERMS: Admin/Skins/Terms.ascx # Loading skin object for token TITLE: Admin/Containers/Title.ascx # Loading skin object for token TREEVIEW: Admin/Skins/TreeViewMenu.ascx # Loading skin object for token USER: Admin/Skins/User.ascx # Loading skin object for token VISIBILITY: Admin/Containers/Visibility.ascx
That is alot more tokens than I am referanceing in my container is that normal for it to load all of them even if I don't use them all?
Does this line: # Loaded package level attribute file: Container.xml mean that it is infact loading my xml doc.
not sure where to go from here.
|
|
|
|
|
Lee Sykes DNN Creative Staff
 Nuke Master VI Posts:4945

 |
| 04/27/2007 3:45 PM |
|
You need to check out those skinning tutorials I referred you to earlier as they explain how the XML file works. You are confusing two different methods of creating a skin:
1) skin.htm file + skin.xml are used together and when uploaded DNN creates a skin.ascx file 2) skin.ascx file - this contains all the code and does not use the skin.xml file
If you are editing the live site you need to edit the skin.ascx file, if you edit the skin.xml file it will not make a difference unless you reparse the skin.
in the .ascx file try:
dnn:VISIBILITY runat="server" id="dnnVISIBILITY" MinIcon="min.gif" MaxIcon="max.gif" |
|
Lee Sykes Site Administrator Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
Twitter: www.twitter.com/DNNCreative
 |
|
|
Jeremy
 Nuke Active Member Posts:32

 |
| 04/27/2007 4:01 PM |
|
Lee you are a genius that is exactly what I was doing wrong. Works like a charm now. Thank you very much for all your help.
In summary if you want to change out the token for visibility all you have to do is in the ascx file put this line: dnn:VISIBILITY runat="server" id="dnnVISIBILITY" MinIcon="min.gif" MaxIcon="max.gif" wow how can such a simple solution take up most of my afternoon..lol
Thanks again, Jeremy Palmer |
|
|
|
|