Nov 22, 2013 at 7:31 AM
Edited Nov 22, 2013 at 8:46 AM
We have a website that is written in classic ASP.
The goal is to convert this site to Orchard.
Currently I am struggling a bit with widgets with shared context.
I can create a content type ProductGroup.
On the home page I have a projection that shows the product groups with first the icons and then the title of the product group.
So far so good.
When someone clicks on the title of the product group, they should be directed to a page with on the left hand side a widget with the details of the product group and in the content area I should get a projection with all ProductCategory content types. (there
exists a parent-child relationship between ProductGroup and ProductCategory).
The url of this page should be
where the pg stands for productgroups and ftth is the slug of one of the product groups.
When the user selects a product category from the list, the user should be redirected to another page with on the left side the same widget with details of the product group and on the content side, a list of products that belong to the selected product category.
The url should then be
When the user selects the product, they should be directed to a page that displays the details of the product but on the left side again the widget with the product group details.
The content part is not such a problem to implement with the examples I found. It's more the widget that displays the product group details on the left side that I am struggling with.
I guess I need to analyse somehow the url and get the product group out of that and display the details of that product group. Not sure on how to implement this though.
Thanks in advance!