Using "Designer Tools" module in Admin screens to create an alternate view

Topics: Administration, Customizing Orchard, Writing themes
Dec 9, 2013 at 12:12 PM
I'm trying to write an alternate view to some admin screen. I was hoping I could use "Designer tools" to get the name of the alternate. However, I am unable to activate it in the Admin Dashboard. Is there a way to enable "Designer tools" in admin dashboard?

I am trying to write an alternate view to the roles View: \Orchard\Modules\Orchard.Roles\Views\Admin\Index.cshtml

I've tried putting the alternate in the following paths:
/Orchard/Themes/TheAdmin/Views/Parts_Roles_UserRoles_Edit.cshtml
/Orchard/Themes/PortalTheme/Views/Admin/Parts_Roles_UserRoles.cshtml
/Orchard/Themes/PortalTheme/Views/Parts_Roles_UserRoles.cshtml

But that didn't seem to do anything.

What alternate should I be using?

Thanks!
Vitaly
Dec 9, 2013 at 1:13 PM
Shape Tracing works for frontend only.

Alternates are for shapes. It seems you want to override the template for a view for a controller, an MVC view. See here to see how to do this:
https://orchard.codeplex.com/discussions/403527

In your case you will need to add this folder structure to TheAdmin theme.


Marked as answer by VitalyB on 12/10/2013 at 2:13 AM