1
votes

Using Orchard 1.5, TheThemeMachine
I created a ContentType (called TestTeaser) in Dashboard, which renders nicely in the "Content"-section.
But I want it to appear in another one, specified in the theme (themeMachine), like "BeforeContent".

I added this to the placement.info of ThemeMachine:

<Match Path="~/testteaser">
     <Place Parts_Title="BeforeContent:1"/>
</Match>

I can see, that it matches, because now the Title is not showing in "Content" (as the rest of the Teaser-Type), but also nowhere else.

I thought in 1.5 this should be possible. (read a posting somewhere by bLeroy)

How would I do this???

thnx Reinhard

1
The posting about 1.5 being able to do this is: orchard.codeplex.com/discussions/358527reinhard

1 Answers

4
votes

Afaik, in order to push a part to a global zone, you need to add "/" prefix to zone name (so the zone name should be /BeforeContent). This is to distinguish global zones from the local ones.