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 ?



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:

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 also this is the documentation on how to customize themes within Orchard

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

Hope that helps!


Sep 21, 2011 at 8:00 AM

thks for advises I'm working on it !!