Select the shapes i want to render in my view

Topics: Customizing Orchard
Mar 21, 2013 at 10:55 AM
Edited Mar 21, 2013 at 10:56 AM
During my site implementation i came across this problem:

Let's say that i have a content type named Article.
I make a view especially for this content type e.g. Content-Article.Detail.cshtml
In this view i can choose what model "properties" I ll show.
For example @Model.ContentItem.BodyPart.Text or @Model.ContentItem.Article.photo.FileName .

I want to show only a part of my total Model info so it seems a decent way for me.
When i look at the shape designer the Zone[Content] has only these shapes
http://tinypic.com/r/30tm9zs/6

However when I use only Model.Content
<article class="content-item @contentTypeClassName">
   
   @Display(Model.Content)
   
</article>
 
i have all the info and the shape designer is like this

http://tinypic.com/r/28u66hd/6


Now the problem is that i dont want to show all the info in order to display Model.Content
but i also want to have access to data like the one included in Fields_Contrib_TaxonomyField.

Is there any way to select the shapes that I want to show in my view and how it is implemented?

Thanx in advance!
Developer
Mar 21, 2013 at 11:00 AM
Placement.info does that for you.