hi everyone,
i have a products page which can be accessed from 2 different ways...
1) navigate through the site tree. go from home- to the 'product holder' page - to the products page (this mirrors what is in the CMS site tree)
2) navigate via relationships - go from home to a 'marketsHolder' page which shows different markets and related products, which link to the products.
my problem is when i navigate to the products page via the many-many-relationship (going through 'markets'), the breadcrumbs show the parent/child relationship that mirrors the siteTree, and does not show the markets path. I saw hammy's thread:
http://www.silverstripe.com/site-builders-forum/flat/221309
but that approach looks like it would make the breadcrumbs always go through the relationship and not consider that the products can be navigated to by 2 different paths.
i considered trying to dynamically create a new page and dump the contents of the product page into it, but that may show up on google-analytics as 1 product with 2 urls, so i think re-writing the breadcrumbs is the way to go.
if anyone has any ideas on how to solve this, i would love to hear them.
thanks alot,
-Chris