|
Not sure either what you do not understand.
Let's say, I want to build JetBrains or Atlassian web site. The web site is all about the software/products they are selling. In most cases, the same approach is used whatever the product (overview, features, what's new, downloads, ...). Therefore, it would
not make much sense to have have separate pages for each product. I would rather use something more generic.
For example, thanks to Autoroute flexibility I will be able to come up with the following route for a feature content type:
{Content.Fields.FeatureCollection.RelatedProduct.Content.Slug}/features/{Content.Slug}
"RelatedProduct" is content field picker that makes it possible to associate a feature to a specific product.
Thanks to this approach, my content type will work whatever the software/product.
Now, besides the feature, I will need some widgets (some testimonials, latest kb, random customers, ...) on those same pages. However, those widgets need to be "Software/product" aware so that it will display "testimonials", "kbs" or "customers" for the
"current" product ({Content.Fields.FeatureCollection.RelatedProduct.Content.Slug}).
Does it make sense? And any idea on how to solve this in an elegant way with Orchard?
|