Kay Smoljak wrote: > I dunno why we didn't notice this before... it must be something basic > that we're missing. It's a bit hard to explain too so please bear with > me... > > I'm trying to create a displayPageStandard template for a custom > content type. But, when the page is a standalone > one-page-per-content-object type deal, that page doesn't inherit the > nav location, section titles, breadcrumbs etc from the previous page. > > So if the breadcrumbs for the calling page (which uses a displayTeaser > template) looks like this: > home > section > my custom type listing > > I want the displayPageStandard's breadcrumbs to look like this: > home > section > my custom type listing > one of my custom types > > Instead it looks like this: > home > one of my custom types > > How would I go about that? A different type of display template?
Its a common issue -- you are dealing with a dynamic content type that has no fixed position in the tree and could appear anywhere in the site based on its categorisation. There are a few approaches... all of which really boil down to setting the environment variable: request.navid (or whatever your custom template code is using to determine the root point of your navigational structures). For example... You can fix a point in the tree... like a central news archive for example.. by hardcoding the request.navid for a content type. We often do this by fixing the page in the tree with a navigation alias, say application.navid.newshome You can pass the preceding pages navid on the url as part of the link to the page.. eg index.cfm?object=E360EA27-F1B8-D726-B9003D162315DAFB&navid=E360EA27-F1B8-D726-B9003D162315DAFW Hope that helps, -- geoff http://www.daemon.com.au/ -- Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering. http://www.mailguard.com.au/mg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev -~----------~----~----~----~------~----~------~--~---
