This project is read-only. module vs theme

Topics: Customizing Orchard, General, Troubleshooting, Writing modules, Writing themes
Feb 28, 2012 at 3:14 PM

After migrating to autoroute I added Title part to one of my custom parts. I used to hide RouteableTItle via the module's, so I tried the same thing in the module's "<Place Parts_Title="-" />". This didn't work, but it worked when I put it in the Theme's file. 

Why didn't it work when I put it in the module but work fine from the theme? How do I know which to put a rule into? Should I always put it in my theme? 

Feb 28, 2012 at 4:07 PM

It's probably dependencies - your module needs a dependency on the Title module, so Orchard knows in which order to apply placement files.

Themes on the other hand always get applied last.