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...Administration ...Administration ...Using Different Logos on Different PagesUsing Different Logos on Different Pages
Previous
 
Next
New Post
1/27/2010 2:48 AM
 

 Anyone know a way to achieve different logos on different pages of a site?  Only thing that comes to mind is to use a 1px by 1px transparent image for the site logo, and then add an html module to the banner area to display the logo of choice for the particular page.  Is there an easier way to go about doing this?

 
New Post
1/27/2010 4:22 AM
 

you can always replace the logo skin object by an additional pane in your skin source, where a user may place the image.

another option would be displaying page icon (i.e. an image as well) within the skin. 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/27/2010 3:58 PM
 

 I will probably just go with removing the logo skin object and creating a new pane.  This shouldn't have any affect on the upgrade process, correct?

 
New Post
1/27/2010 7:01 PM
 
justin acton wrote:

 I will probably just go with removing the logo skin object and creating a new pane.  This shouldn't have any affect on the upgrade process, correct?

As long as you are not modifying the default skin in place, not.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/31/2010 5:28 AM
 

I would go for a jquery solution, based on the page you are on you can then change the attribute "src" of the logo image

make a div around your whole skin give it an id of the pagename or tab you are on ( using ascx skin )

<div id="tab_<%=PortalSettings.ActiveTab.TabID %>">

<div id="LogoHolder">

<dnn:LOGO ID="LOGO1" runat="server" />

</div>

... rest of the skin

</div>


then all you need to do is include script in you page that changes the image


$(document).ready(function(){
   // Your code here
$('#tab_1 #LogoHolder img').attr('src', '<%= SkinPath %>newlogo.png');

$('#tab_25 #LogoHolder img').attr('src', '<%= SkinPath %>evennewerlogo.png');
 });
 

This should do it
 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Using Different Logos on Different PagesUsing Different Logos on Different Pages


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