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, ...Modifying Skin and Skin ObjectsModifying Skin and Skin Objects
Previous
 
Next
New Post
1/8/2008 12:39 AM
 

Hi,

I'm very new to skinning and DNN for that matter, so I apologise if this is a very basic question or makes no sense. Currently I am building a DNN intranet site which uses the DNN-Blue skin. I wanted to modify the skin so that the header has not just a logo, but text that will display the name of the project the website is for. I went through the skinning documentation but I don't fully understand what I need to do. I think I need to create a skin object, say PROJTITLE, then modify the html file for the skin. The PROJTITLE needs to be modifiable. Do I need to create a module for PROJTITLE then? or would the PROJTITLE value be under site settings?

Thanks,

 

 

 
New Post
1/8/2008 1:23 AM
 

I suggest you just make a picture with text that will display the name of the project  then replace the orignial logo through setting.

you can specify the logo through Admin->Site settings->Appearance->Logo
Submit

 
New Post
1/8/2008 1:37 AM
Accepted Answer 

You could simply replace the Logo skin object with a content pane. Then you can insert a Text/HTML module and add logos and text as you please. This also allows anyone with edit rights on the module to alter the text and images. Would that suit?

In the ascx file of the skin you're using, replace this:

<TD vAlign="middle" align="left"><dnn:LOGO runat="server" id="dnnLOGO" /></TD>

With this:

<TD class="logopane" id="LogoPane" runat="server" valign="top"></TD>

Then add a class .logopane{} to your skin.css in case you ever need to style the pane.

When you refresh the site you'll see the new pane listed in the dropdown on the control panel.

Note that you can also make the change in the HTML files for your skin, but the logo pane code will look this this instead:

<TD vAlign="middle" align="left">[LOGO]</TD>

And then you will need to click the link on the skins page to Parse the skin again, which will generate a new ascx file containing the changes.

Or would it be easier to create logo graphics with the text layered onto them? Depends how often it needs to change.

Rob

 
New Post
1/9/2008 4:53 PM
 

Thanks for your replies. At the moment I'm using the temporary solution, where I've got a massive logo with project title in it. I'm going to give the module method I go.

Thanks very much for your help.

Nick

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Modifying Skin and Skin ObjectsModifying Skin and Skin Objects


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