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, ...Link to earlier level (fisrt parent) pageLink to earlier level (fisrt parent) page
Previous
 
Next
New Post
11/10/2008 4:49 PM
 

Hello all,

I have dozens of departments and a nice skinobject menu starting at level 2. (DNN360 Module)
This is cool, cause then this 'side' menu only list what is under this department.
They all use the same skin page and everything seems to be great. (Yea!)

However, I want to fake a top menu choice and provide an obvious link to jump back to the top of the current department (no matter how deep they are).
But don't know how. If I change the menu to start at level 1, it list all the departments (not good).

So I thought, Hey, the 2nd 'crumb' in my breadcrumb trail is always right..
Departments : Police: ect.
Departments : Fire : ect.

Is there anyway I can borrow that and show link useing just this single crumb, or is there a trick to link back to specific level of the current parent/child path.
Like some special link to first parent code maybe?? <Link current path level 2>??

I tried improvise with a skinobject breadcrumb with rootlevel=1 but couldn't limit the depth for this instance.

I hope I explained this well enough.
Thank you for any ideas,
BlackFeather

 
New Post
11/25/2008 5:02 PM
 

I'm still hopeing someone can help me.

I've come very close by putting the following in my .htm skin file.

<a href="<%=PortalSettings.ActiveTab.BreadCrumbs(1).FullUrl%>"><%=PortalSettings.ActiveTab.BreadCrumbs(1).TabName%></a>

BUT... it keeps automatically inserting the path to my skin folder in front of the url I really want. (Arrrg!)
I've found several old post pointing me to try this, but none mention the problem I'm having now.

DNN4.9

I thank you for your help, Blackfeather

 
New Post
11/25/2008 5:46 PM
 

The skin parser tries to add the skinpath to every href in an HTML skin.

You could create an ASCX skin, or use something like this I think:

<a hr<%="">ef="<%=PortalSettings.ActiveTab.BreadCrumbs(1).FullUrl%>"><%=PortalSettings.ActiveTab.BreadCrumbs(1).TabName%></a>

The result will be HREF, but I don't think the parser will see it, so the skinpath will not be added.

 

 
New Post
11/26/2008 4:13 PM
 

Timo, You Rock!

It works perfectly.
In the end I used <%=href%>, it seems to work too, and looks better to my eyeballs.

I can't thank you enough; you made my day.

 
New Post
11/26/2008 6:07 PM
 

NP, Yes it does look better, I was not sure it would work that way (didn't test)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Link to earlier level (fisrt parent) pageLink to earlier level (fisrt parent) page


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