Breadcrumb Nav.
January 26, 2005 12:00 AM
I've been able to get this somewhat working, but i've ran into a few problems.My base theory is as follow (thanks qwerty):Action 1 - onShow > modify variable to VAR(CurrentChapterName) and set it to "Set Variable Contents"Action 2 - onShow > modify variable to "[space]>>[space]" (without the quotes) and set it to "Add to Variable"Action 3 - onShow > modify variable to VAR(CurrentSectionName) and set it to "Add to Variable"Finally, create a textblock and add one more action to change its contents to the "breadcrumb" variableSo this works. What i don't need is the chevrons to so when the user is in a subsection. So i need to test for the content of CurrentSectionName, and if it's blank (or NULL) for display. The same logic will go for displaying the section name. Also, is it possible to create this so it works as a navigation element.Mark.
Discussion (1)
To get the section name and the second set of chevrons to NOT show up, when they don't exist in your title, add conditions to show them if CurrentSectionName is not equal to then leave the value field blank.So your action 3 would be:onShow > modify variable to VAR(CurrentSectionName) > "Add to Variable" > perform only if the following is true: Variable = CurrentSectionName; Relationship = Not Equal to; Value = [leave blank]The section name would show up in your breadcrumb only if there is one.Then you can do the same for the action to show the second set of chevrons.I've not figured out how to make this as a navigation element, though.
Discussions have been disabled for this post