This project is read-only.

shapes in different Top-Level Zones, same page

Topics: Core, General
Aug 14, 2012 at 9:29 AM

in 1.5.1 using the new '' capabilities like "/AsideSecond:3" I'm able to place the 'details' of a 'Projection widget' into a different top-level Zone.
However, the 'Details' are always shown on a different page.

Is it possible to keep the 'Summary' and the 'Details' info on the same page but in different top-level zones ?
E.g. the 'projection widget' Summary in the 'Content zone' and when clicking a 'Summary item' its Details in "/AsideSecond:x" - same page!

PS: like a classical Master/Detail concept!?

Thanks for your time and ideas

PS: I use below '':
     <Match ContentType="Event">
        <Match DisplayType="Detail">
            <Place Parts_Eve="/AsideSecond:4" />
            <Place Parts_Common_Body="Content:before"/>
            <Place Parts_Tags_ShowTags="Nowhere"/>
            <Place Parts_Common_Metadata="-"/>
        <Match DisplayType="Summary">
            <Place Parts_Tags_ShowTags="Nowhere"/>
            <Place Parts_Common_Metadata_Summary="Nowhere" />

<!-- Customize where the shapes are rendered




Aug 25, 2012 at 12:50 AM
Edited Aug 25, 2012 at 12:50 AM

I didn't even realize these new capabilities were already part of Orchard. Nice!

I'm afraid you can't do what you are looking to do right out of the box, since we're talking about a single shape, and it will not be cloned. Placement is all about placement, not rendering. Summary and Detail are just display types. In a projection, the items are rendered using the Summary display type (or any type you specifyied in the Query).

So that means you would have to do some custom templating.

Not sure if that helps you, but at least I got something from your question :)

Aug 25, 2012 at 9:31 AM

well, I'm happy that for once I could 'help', ed