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. |
|
|
|
|
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. |
|
|
|
|
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. |
|
|
|
|
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.