Orchard CMS — Hide Elements from Layout Part

if(!AuthorizedFor(Orchard.Security.StandardPermissions.SiteOwner)) {
Style.Include("noadmin.css").AtHead();
}
  • Row (1 col, 2 col, 3 col, 4 col, 6 col, 12 col)
  • HTML
  • Image

--

--

Experienced Software Engineer with more than 10 years of experience, specialized in Front-End Web technologies, with strong foundations in programming.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
George Roubie

George Roubie

Experienced Software Engineer with more than 10 years of experience, specialized in Front-End Web technologies, with strong foundations in programming.