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, ...breadcrumb of current page  highlightedbreadcrumb of current page highlighted
Previous
 
Next
New Post
1/22/2007 11:50 AM
 
Hi
is it possible to highlight the bredcrumb of the page I'm in at the moment?
I mean give another kind of css to the bredcrumb that identify the current page.

thanks
regards
david
 
New Post
1/22/2007 3:01 PM
 

I dont think so.

Salar

 
New Post
1/23/2007 1:21 AM
 

You can make it do what it do baby!

Use Windows Explorer to navigate to this folder:

<install folder>\admin\Skins\BreadCrumb.ascx.vb

This has just ~160 lines of code but all the good stuff happens in the 20 lines. Its just a simple For loop and you can intercept the final loop and put a special CSS class there. If you're not fluent in VB.Net, then anyone with those skills should be able to help you. Its not too reliant on DotNetNuke knowledge, just a For loop!

            For intTab = intRootLevel To PortalSettings.ActiveTab.BreadCrumbs.Count - 1
                If intTab <> intRootLevel Then
                    strBreadCrumbs += strSeparator
                End If
                Dim objTab As TabInfo = CType(PortalSettings.ActiveTab.BreadCrumbs(intTab), TabInfo)
                Dim strLabel As String = objTab.TabName
                If UseTitle And objTab.Title <> "" Then
                    strLabel = objTab.Title
                End If
                If objTab.DisableLink Then
                    strBreadCrumbs += "<span class=""" & strCssClass & """>" & strLabel & "</span>"
                Else
                    strBreadCrumbs += "<a href=""" & objTab.FullUrl & """ class=""" & strCssClass & """>" & strLabel & "</a>"
                End If
            Next

 
New Post
1/23/2007 6:40 PM
 

Sounds like a good enhancement to me

Salar

 
New Post
1/24/2007 9:58 AM
 
Hi
thanks
can I ask you to give me the code and to say wich will be in the code the css I've to modify?
thanks
bye
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...breadcrumb of current page  highlightedbreadcrumb of current page highlighted


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