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

Topics: Customizing Orchard, Writing modules
Mar 14, 2013 at 3: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
Website: http://orchardproject.net
Version: 1.0
OrchardVersion: 1.4
Description: Description for the module
Dependencies: Orchard.Autoroute
Features:
MyModule:
    Description: Description for feature MyModule.
2. Remove the autoroute shape wrapper by adding it to placement.info file like below:

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