Quote from: Pont at May 21, 2008, 01:35 PM
The change of your example was on purpose and made to make it identical to my test case. To lazy to write my own... 
Ah okay. You said it was from my example and I just wanted to be clear on how this thing operates.
Quote from: Pont...isn’t the expected behavior from the snippet that the trail will begin from that [specified home page] page and trickle downwards?
No. This snippet is generated
from the current page upwards. The "home crumb" is literally just a wild card to append on the front of the trail. Nothing more, nothing less. It is really intended for situations when you want a home crumb that
is not in the hierarchy. I really can’t emphasize that enough. If the page you want to stop on is already in the hierarchy, you have no need of the so called "home crumb."
Quote from: Pont...Setting showHomeCrumb = 0 doesn’t help since the snippet still jumps up one level and the back down. The fix corrects this with (to my knowledge) no ill effects.
Well... setting it to 0 will turn it off completely, so no, it won’t jump back down. At least it shouldn’t. If it does then it’s a bug I need to work out. Is there harm with your suggested remedy? In this scenario probably not, but since you can accomplish your goal without it, I’d be reluctant to race to implementation without considering how it short circuits the methodology. I just haven’t thought a lot about it honestly. It may be perfectly fine.
So from your example where your structure is (and I’ll add on the pig latin language for further explanation):
- Home (1)
- - English (7)
- - - Products (2)
- - - - Widgets (3)
- - - - - Thing-a-ma-bob (4)
- - - - - Do-hickey (5)
- - - - - Ultra Dingle (6)
- - - - Do-dads [8]
- - Pig Latin (9)
- - - Roductspay (10)
- - - - Idgetsway (11)
And your desired trail is (on pg 4):
Products > Widgets >Thing-a-ma-bob
Instead of setting Products as the home page, just set your products page (or pages if using multiple languages) to be a stop ID:
If you want that consistency across the products page in both languages, then you just set all the language pages as stop ID’s:
Or even better, if your structure isn’t always going to branch off of products, but the languages themselves - consider this enhanced structure:
- Home (1)
- English (7)
- - Products (2)
- - - Widgets (3)
- - - - Thing-a-ma-bob (4)
- - - - Do-hickey (5)
- - - - Ultra Dingle (6)
- - - Do-dads [8]
- - Services (9)
- - - Knowledge Base (16)
- - - FAQ (17)
- - Contact (10)
- Pig Latin (11)
- - Oductspay (12)
- - - Idgetsway (13)
- - Ervicessay (14)
- - Ontactscay (15)
- Random page (16)
Then you can declare the languages the stopIds (roots of each section so to speak):
So on the FAQ page (17) you’d get:
English > Services > FAQ
If you don’t want English (7) to show, as you probably wouldn’t, then either unpublish it,
OR declare it in ignoreIds:
[[ ... &ignoreIds=`7,11`]]
Which will show on pages 4 and 16 respectively:
Products > Widgets > Thing-a-ma-bob
Services > FAQ
So I hope that helps clarify what this thing does, and what the parameters are used for. If it’s not clear, please ask. Meanwhile I’ll also consider your fix to see if it would have unintended consequences in other scenarios.