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, ...LogoLogo
Previous
 
Next
New Post
3/8/2007 5:39 PM
 
Logo 

I was hoping you can tell me how I can add a new page that hasnt got the logo on it. I have the logo added in the site settings. So I want it on some pages but not others.

How do I do this?

Thankyou!!

 
New Post
3/8/2007 7:09 PM
 
You have to create two skins, one version with and one version without the logo.
Then set the right skin of the right page.
For more info read the skinning documentation (found on the downloads page)
 
New Post
3/9/2007 11:47 PM
 

Thanks for your help Tino.

I am only new to DNN so a lot is still going over my head. I couldnt find any info regarding skins in the download page.

The only place I can see where a logo is added is in the site settings section, which applies to the whole site. Can you please explain in more detail what you mean when you say "You have to create two skins, one version with and one version without the logo."

As far as I can see, you can select any skin for the page but it still has a logo on it.

If you could give me more detailed steps it would be much appreciated.

Many thanks!!


 
New Post
3/10/2007 5:33 AM
 
Re: Logo  Modified By Timo Breumelhof  on 3/12/2007 6:46:06 PM
There is a documentation pack here:
(The DotNetNuke 4.4.1 Docs link on the Downloads page, but you have to be logged in)
If you unzip it, it has a file called "DotNetNuke Skinning.pdf" in it.

In essence a  skin is like a normal webpage it contains regular HTML (tables, div's etc.)
But you can also add  blocks of code that insert the dynamic content from the CMS.
These are called Skin objects.

In case of the Blue skin the skinobject for the logo looks like this:
<dnn:LOGO runat="server" id="dnnLOGO" />
If DNN finds this skinobject when it creates the page, it will render the logo you assigned in the settings in the page.
So if you want to create a skin without a logo you will have to create a skin without this skinobject.
Howto (in short):
Make a copy of the folder with the skin you want to change, give the folder a logical name lets say.
(this is because with every DNN update the original skinspacks are being overwritten)
The name of the folder will be the name of your new skinpack.

(These folder can be found in the: portals/_default/skins/ folder)
Open the new folder.
Copy the original skin change the (file)names and remove the skinobject above (you need FTP if on a remote machine)
The physical files you have to copy are:
NameOfYourSkin.ascx and if it exists
NameOfYourSkin.css (don't copy NameOfYourSkin.htm, for more info see the doc.)
Rename them to something like
NameOfYourSkin_noLogo.ascx and NameOfYourSkin_noLogo.css
(these files can be found in the: portals/_default/skins/"skinpackname" folder)
Open the
NameOfYourSkin_noLogo.ascx file with a text editor and remove
These blocks:
<%@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/Logo.ascx" %>
and
<dnn:LOGO runat="server" id="dnnLOGO" />

Now if you select a skin for a page the new skin should be available in the list and will not render a logo if you assign it to a page.

I'm taking some shortcuts here, but I don't want to rewrite the existing documentation...;-)
Hope it's a bit clearer



 
New Post
3/11/2007 11:52 PM
 

Thanks again for your help!

I think I follow you. The problem I am having at the moment is - when I go to find the files I go portals/_default/skins/ But there is no folder called skinpackname. The only folders in the skins folder is -defualt, DNN-blue & DNN-gray and there are no folders in either of these.

What could the problem be do you think?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...LogoLogo


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