Creating Breadcrumbs for Subsections using CurrentSectionName

So I am trying to create a breadcrumb for my course. The course can have a section that has a subsection which itself can have a subsection. I thought that to capture each of these section and subsection names from the left hand pane I would create my own user-defined variables and populate each of them using CurrentSectionName immediately after a Section/Subsection is encountered, and then combine/append all those values together in the breadcrumb text box on the screen. The problem is that only the last or lowest level subsection name is being populated in my user-defined variables. For example the breadcrumb would look like "Chapter 1 > Section 1.1.1 > Section 1.1.1 > Section 1.1.1 > Page 1" when I expect "Chapter 1 > Section 1 > Section 1.1 > Section 1.1.1 > Page 1". So two things. First any ideas why this is not working. Second, anyone have a technique for creating a breadcrumb for Titles have multiple sections (i.e. without hard coding the breadcrumb on each an every page)?

Discussions have been disabled for this post