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 ...BREADCRUMB style navigation displays file names but i dont want thatBREADCRUMB style navigation displays file names but i dont want that
Previous
 
Next
New Post
9/27/2007 8:13 AM
 

Hi, I have this file called "inc_BreadCrumbs.asp" basically this is a Navigation include file as breadcrumbs style, and I inserted this to every page in my site. It works fine but one thing I cant configure is that:  It displays the file names as for example: search.asp or results.asp etc... But i want it to display as SEARCH or RESULTS etc...  How to implement this? Can it display only page title name or something else how can you change it? Can you help please, thanx.
Here is the "inc_BreadCrumbs.asp" :


<%
  
   if request.ServerVariables("HTTPS") = "on" then ssl = "s"
   myURL = "http" & ssl & "://" & request.ServerVariables("SERVER_NAME")
 myArray = split(request.ServerVariables("URL"),"/")
  response.write "<a href = """ & myURL & """><font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color = ""#000000"">" & request.ServerVariables("SERVER_NAME") & "</font></a><font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color = ""#000000""> > </font>"
  for a1 = lbound(myArray) to Ubound(myArray)
   newStr = ""
   qMark = ""
   newStr = myArray(a1)
   myCounter = myCounter + 1
   if NOT Ubound(myArray) + 1 = myCounter then
    trailingSlash = "/"
   else
    trailingSlash = ""
   end if
   myURL = myURL & myArray(a1) & trailingSlash
   if Ubound(myArray)+1 = myCounter AND request.ServerVariables("QUERY_STRING") > "" then qStr = "?" & request.ServerVariables("QUERY_STRING")
   if NOT myArray(a1) = "http" & ssl & ":" AND NOT myArray(a1) = "" then
    response.write "<a href = """ & myURL & qStr & """><font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color = ""#000000"">" & newStr & "</font></a>"
    if NOT Ubound(myArray)+1 = myCounter then response.write "<font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color = ""#000000""> > </font>"
   end if
  next
 
%>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...BREADCRUMB style navigation displays file names but i dont want thatBREADCRUMB style navigation displays file names but i dont want that


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