Widget layer rules based on url contains?

Topics: Customizing Orchard, General, Troubleshooting
Feb 1, 2012 at 11:07 PM

Hey Orchard folks,

I'm playing around with orchard for the first time today, and in the little site I am building, I need a way to display a different sidebar based on the category that a page is in. I have set up the slugs so that pages in category 1 will have "~/category1/etc..." and pages in category 2 will have "~/category2/etc...". Now I'm wondering, is there a way to create a custom rule for layers based on whether the url contains the category1 or category2 string?


Feb 1, 2012 at 11:10 PM

Oh, never mind, just found it. Asterisk!