I had a need on a custom web application project recently to use more than one theme in Orchard, one for the standard front-end of the website and one for a back-end portion of my custom module. After asking a couple of questions, the suggestion was made that the best solution for this was to create an ActionFilterAttribute and attach it to the ActionResult in the Controller for every Action I wanted to use the different theme on. I had never created an ActionFilterAttribute before, nor tried to apply it to Orchard theming, so I thought writing up my findings may help others.
crawled from : Orchardproject
No comments:
Post a Comment