Where can i find a description for ContentPart class?

Topics: Customizing Orchard, General, Writing modules, Writing themes
Apr 20, 2011 at 12:13 AM

first of all, let me tell you what im doing. I have a blog added to my site, and im trying to edit the View files of the project to modify the way the blog is rendered. I started as mock test with the recentblogpost view. I have managed to edit in somehow:

In the recentblogposts.cshtml i have the sentence

@Display(Model.ContentItems)

And in ContentSumary.cshtml there are these

@Display(Model.Footer)

@Display(Model.Meta.Tags)

and some others.

For example, when i render Model.Content all the content is rendered, including a "More" link and some other stuff i dont want. My actual question is, how can i inspect in the Model object and get only the properties i need? Where is the description for this class? Im missing something here or the docs are pretty poor in some cases.

Coordinator
Apr 20, 2011 at 12:15 AM

You should read this:

http://orchardproject.net/docs/Customizing-Orchard-using-Designer-Helper-Tools.ashx

Apr 20, 2011 at 12:28 AM

mm i cant find Shape Tracing module in the dashboard as installed, nor in the gallery. 

Coordinator
Apr 20, 2011 at 12:32 AM

http://orchardproject.net/gallery/List/Modules/Orchard.Module.Orchard.DesignerTools

Apr 20, 2011 at 12:37 AM

Awesome! Thanks a lot man!