• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

rwc
#1 Posted : Sunday, January 20, 2008 3:59:16 PM(UTC)
rwc

Rank: Member

Joined: 1/20/2008(UTC)
Posts: 47

I would like to add "You are here:" before the breadcrumb on all pages in my store. How do I do this? Thanks in advance.
Rick Whittington
Rick Whittington Consulting
http://www.rickwhittington.com
Cliff
#2 Posted : Sunday, January 20, 2008 9:05:58 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Hi Rick. This one isn't as easy as it should be, i.e., just adding the text to the control. I had to add it in the control's code-behind because a DIV block is created there.

Open up the CategoryBreadCrumbTrail.ascx.vb file found in your ~/BVModules/Controls folder. Look for the following in the LoadTrail sub:
Code:
If category IsNot Nothing AndAlso category.Bvin <> String.Empty Then
category.FindParentsToRoot(trail)
End If


Add this directly below it:
Code:
' You Are Here
Me.TrailPlaceholder.Controls.Add(New LiteralControl("<strong>You Are Here: </strong>"))


Of course, change the text to whatever you want and use the strong tag if you need to grab ahold of just that phrase with your stylesheet. You can see an example of this at http://www.passengersonly.com/laptop-bags/sleeves.
rwc
#3 Posted : Monday, January 21, 2008 8:58:16 AM(UTC)
rwc

Rank: Member

Joined: 1/20/2008(UTC)
Posts: 47

Thanks Cliff, that worked. I'm sure I'll have other questions as well. Much thanks.
Rick Whittington
Rick Whittington Consulting
http://www.rickwhittington.com
MitchA
#4 Posted : Monday, January 21, 2008 9:15:53 AM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

Thanks, Cliff. I'll save that for later.
Optimists invent airplanes,
Pessimists buy parachutes.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012