How to move content part to another top zone?

Topics: Writing themes
Aug 5, 2011 at 4:33 AM
Edited Aug 5, 2011 at 4:33 AM

I am trying to move RoutableTitle to BeforeContent Zone using placement.info

 

<Match Path="~/products/*">
    <Place Parts_RoutableTitle="BeforeContent:1"/>
</Match>

But it does not work.

Coordinator
Aug 5, 2011 at 7:31 AM

You can't do that with placement today. Only local zones can be assigned to. See http://weblogs.asp.net/bleroy/archive/2011/03/26/dispatching-orchard-shapes-to-arbitrary-zones.aspx to see how to work around this.

Aug 31, 2011 at 4:10 PM
Edited Aug 31, 2011 at 4:10 PM

So what Sebestien Ros is doing  on this demo (http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV355 see 41:20) doesn't actually work unless you write a bunch of extra code?

Coordinator
Aug 31, 2011 at 8:10 PM

No, it just means that his aside zone is a local zone defined in the content template.

Mar 7, 2013 at 6:09 PM
Would this be a solution? (Adding a '/' before 'BeforeContent:1')
<Match Path="~/products/*">
    <Place Parts_RoutableTitle="/BeforeContent:1"/>
</Match>
Coordinator
Mar 7, 2013 at 6:16 PM
Yes. This is an old thread, that feature wasn't implemented at the time.