You need to Register for free and Login to post a message in the forum.

Forum

Subject:  and
Prev Next
You are not authorized to post a reply.

Author Messages
geichholzer
Nuke Newbie
Nuke Newbie
Posts:4

30 Apr 2008 11:56 AM  
Can anyone tell me what I have to do to edit what renders in the "head"and "link" tags in the html?
jncraig
Nuke Master II
Nuke Master II
Posts:2030

30 Apr 2008 7:24 PM  
Take a look at the DNNCreative Skinning Toolkit.

Joe Craig
DNN Creative Support
Subscribe to the website
leesykes
Nuke Master II
Nuke Master II
Posts:2993

01 May 2008 4:49 AM  
If you need more info let us know, is there something in particular you wish to achieve?

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
geichholzer
Nuke Newbie
Nuke Newbie
Posts:4

01 May 2008 9:57 AM  
what I want to do is edit what stylesheets are being linked to in the head tags of the final rendered html.
leesykes
Nuke Master II
Nuke Master II
Posts:2993

02 May 2008 2:46 AM  
There isn't a method for doing this without editing core code.

But, you can call up individual css stylesheets based on the name of the skin, for instance, your DotNetNuke portal currently calls in:

default.css, skin.css, container.css

If you create a skin named mygreenskin.htm and include a css file named mygreenskin.css, it will call up the css code, so you will then have:

default.css, skin.css, mygreenskin.css, container.css

If that doesn't give you enough control then in the root of your DotNetNuke installation files, open default.aspx.vb

In there you will find the code for calling in various css styles (press ctrl+F and search for 'css') you will find the section of code that calls in the stylesheets.

Bear in mind, if you do edit this,  you will need to transfer that code when you do an upgrade of DotNetNuke.

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
geichholzer
Nuke Newbie
Nuke Newbie
Posts:4

02 May 2008 8:08 AM  
Thanks
jncraig
Nuke Master II
Nuke Master II
Posts:2030

02 May 2008 8:28 PM  
If you want to change the styles for just a single module, you can also use the "header" and "footer" that you'll find in the advanced module settings. The idea is to insert < div class="myCssClass" > before the module and < /div > after the module.

Then you can style the head, link, and others for myCssClass. You could put those styles in the skin.css file, or you could use a < style > and < /style > in the header for the module.

You can use the Web Developer's Toolbar that Lee has demonstrated in several tutorials to see how all of this can work.

Joe Craig
DNN Creative Support
Subscribe to the website
You are not authorized to post a reply.



ActiveForums 3.7

Latest Forum Posts

Best so far for me by mortymoose
This skin is CSS standard compliant.  I understand though that the solpart menu causes it not to val...
RE: centering a page in dnn by mortymoose
No I don't think there is any way to fix that.  It makes sense though because the scroll bar is actu...
RE: Host and Admin user login not working on remote host by paulrobinson
Yes I can register a user and login as that user. It is just the admin and host users which are not...
RE: New CSS site feedback please! by puuri
Everything, including the Flash elements, seemed to work fine during my viewing. I was trying to fi...
RE: MY FIRST DNN SITE by puuri
I just took a look and made it through just fine. I am very new to DNN and working towards generati...
centering a page in dnn by kawal
I have centered my DNN web pages using {text-align: center;} in the Body element.  This works fine, ...
RE: redirecting registered user to a specific page by puuri
I think I found the area that Joe describes by logging in as the Admin user and then from the Admin ...
RE: File Manager Upload (intermittent error) by dnnmq
Per Lee's suggestion, I removed NETWORK SERVICE from the website root then re-added it with Full Con...
RE: Solpartmenu and line breacks by saintX
Hello Lee and thanks for the answer. Obviously the page name can't exceed to more than 50 charcters....
RE: redirecting registered user to a specific page by saintX
Hello and thank you for the answer. May you please kindly explain me more specific where to find the...
RE: App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code by jncraig
I think that you'd probably be better served asking question like those over on the DotNetNuke forum...
RE: App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code by fletcherdunton
Hi Joe:That makes perfect sense, but I failed to mention that some of the code that I'd added is not...
RE: App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code by jncraig
I wouldn't recommend either of those approaches.You don't have to use the source code version of Dot...
App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code by fletcherdunton
This thread may be answered somewhere else, so forgive me and point me to the solution.  I'm current...
RE: Database error by derpir
Yeees!!! thank so much Lee!!! I will continue this by looking at video nr 3 on how to transfer fro...
RE: Database error by leesykes
go to programs / microsoft sql server 2005 / configuration tools / SQL server configuration manager....
RE: Database error by derpir
nailed it!!! but how do I restart with the configuration tool? regards //newbie
RE: Database error by derpir
You put me on the right track there. Turns out that I had server authentication set to 'Windows Au...
RE: Issue 22 - Login failed for user xxxx by leesykes
I just checked and it does have it: Right click on the SQL server node - this is the node with th...
RE: Database error by leesykes
I just checked and it does have it:Right click on the SQL server node - this is the node with the gr...
AppTheory
RSS Feeds