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 to change How to change 'Site Navigation' text
Previous
 
Next
New Post
1/22/2007 11:43 AM
 

I am trying to change the menu header text, "Site Navigation" to something more suited to our use. Is there a quick (easy) way to do this?

The only place I can find this text is in admin/TreeViewMenu.ascx.vb. Do I change it there and then what?

TIA,

Cheryl

 
New Post
1/23/2007 1:36 AM
 

Close, but not quite. You have your choice of changing it in the resource file or in a skin file instantiating the web user control.

This web user control exposes a property named "HeaderText", so you can just set that as an attribute in the skin file that uses the tree view control.

<dnn:TREEVIEW id="dnnTreeView" runat="server"
    headerText="My Tree Control"
    bodyCssClass="Normal" 
    CssClass="TreeViewMenu"
    headerCssClass="TreeViewMenu_Header"
    headerTextCssClass="Head"
    level="root"
    nowrap="true"
    treeIndentWidth="5"/>

Alternatively, you can change the default value of the tree view control by editing the resource file. That's located here:

"<install folder>\admin\Skins\App_LocalResources\TreeViewMenu.ascx.resx"

The resource file just an XML file that holds strings. Their helpful for localizing your app. You should be able to located the element that related to your interest. If you want to affect the default value across the board, this is the place to do it, although you can still override the value in a particular skin by using the attribute technique.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to change How to change 'Site Navigation' text


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