Html source ?

Topics: General
Sep 20, 2011 at 3:45 PM

hi , I 'am begining with orchard and i don't understand razor syntax for the time being and what i want is to display for e.g the theme machine layout.chtml code source  in  html form ? Is it possible ? Is there in webmatrix a specified file for this ?

 

thks

Coordinator
Sep 20, 2011 at 6:11 PM

You might want to try the shape tracing feature, which will show you server and rendered html for all the shapes on the page: http://orchardproject.net/docs/Customizing-Orchard-using-Designer-Helper-Tools.ashx

Developer
Sep 20, 2011 at 9:44 PM

Hi Blotorosd,

I see you are starting out with orchard! good stuff. Orchards shape rendering and theming can be quite overwhelming at first. Johnathan Kresner wrote a cool little article on reverse engineering a theme http://www.kresner.com/jonathons-orchard-cms-blog/reverse-engineering-the-orchard-cms-theme-machine-for-kresner.com also this is the documentation on how to customize themes within Orchard http://www.orchardproject.net/docs/Customizing-the-default-theme.ashx

Also take a look at the shape tracing module Bertrand so rightly suggested.

Hope that helps!

Nick

Sep 21, 2011 at 8:00 AM

thks for advises I'm working on it !!