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, ...How do I hide the Page Icons in the Admin Tree Menu?How do I hide the Page Icons in the Admin Tree Menu?
Previous
 
Next
New Post
8/21/2007 11:33 AM
 

A work mate decided to use the page icons to display a custom header on each page (embedded through the skin's ascx), however that way the entire Administration Menu will get bloated because DNN shows the icons there. Also, a menu control included in the skin based on ~/Admin/Skins/Nav.ascx will try to display the Icons too, fails to do so (probably because of my display:none in the appropriate CSS) and thus displays the ALT tag (which seems to be the page's name associated to the page icon) right next to the page menu entry. This results ie. in "Products Products" for a page called Products.

Admin skin uses TreeviewMenu it seems, I havent been able to decipher its possibilities.

Any ideas?

 
New Post
8/22/2007 3:46 PM
 

I think the best way would be not to use page icons for the header.

You could use another way...

Put this in your skin:

<img src="somepath/header<%=PortalSettings.ActiveTab.TabID %>.gif">

Then is will render <img src="/portals/_default/Skins/"Skinname"/img/header55.gif"> if the page has tabid 55

And you can place the images in the skin folder.

If you want to use the page name use, but beware of invalid filename characters in the page name...

<%=PortalSettings.ActiveTab.TabID%>

 

 

 
New Post
8/23/2007 5:17 AM
 

The guy who started this is on vacation and I'm supposed to finish this... unfortunately he does not pick up his mobile phone... I can't do it any other way I have to use the page icons

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How do I hide the Page Icons in the Admin Tree Menu?How do I hide the Page Icons in the Admin Tree Menu?


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