How to hide "permalink" and "Set as Home Page" fields in the entry forms?

Topics: Customizing Orchard, Writing modules
Mar 14, 2013 at 2:34 PM
CREDITS/REF : Sipke Schoorstra

1. Set "Orchard.Autoroute" module as a dependency in your module like below:

Name: MyModule
AntiForgery: enabled
Author: Developer
Version: 1.0
OrchardVersion: 1.4
Description: Description for the module
Dependencies: Orchard.Autoroute
    Description: Description for feature MyModule.
2. Remove the autoroute shape wrapper by adding it to file like below:

<Match ContentType="MyContentType">
<Place Parts_Autoroute_Edit="-" />