2
votes

I am running Orchard 1.4.2.

I have a custom theme based on an unmodified "The Theme Machine" installed and set as current.

My custom theme defines the following placement.info file

<Placement>
    <Place Parts_Autoroute="-"/>
    <Place Parts_Autoroute_Edit="-"/>
    <Place Parts_Autoroute_SummaryAdmin="-"/>
    <Place Parts_Autoroute_Summary="-"/>
</Placement>

Am I correct in expecting the Autoroute part to be removed from all items when using this? The permalink and "set as home page" checkbox is still visible when I view content in the dashboard. If I make changes to the placement file in the modules themselves, it works fine.

Is there something I might be missing here?

Thanks

2

2 Answers

2
votes

Your theme is not an admin theme, so when you are in the admin, that file is irrelevant.

If you want to remove the autoroute part, why don't you do just that and remove it from your types?

0
votes

What I ended up doing in my CSS for the non-admin side was:

fieldset[shape-id='3']{display:none;}

Since my id was 3 and that is working for me. It would've been nice to have the option of having an autoroute, but when the option for "Allow custom patterns" is turned off that the Permalink box is not even shown.