Changes to EPiServer Core aspx files

Danie de Kock
Member since: 2006
 

Hi,

I need to make a small change to the AdminGroup.aspx file, but don't want to make it in the C:\Program Files\EPiServer\CMS\5.2.375.7\Application\UI\Admin\AdminGroup.aspx as it is shared by other EPiServer sites.

EPi4 used shadow folders to accomplish that.

Thanks

Danie

#30740
Jun 17, 2009 14:53
Mari Jørgensen
Member since: 2003
 

You can use VirtualPathMappings to handle that. The web.config would be settings will be similar to this:

<!-- need to be the added last in the list of virtualPath providers -->
    <providers>
        <add showInFileManager="false"
             virtualName="AdminMapping"
             virtualPath="~/your/relative/path/to/ui/admin/AdminGroup.aspx"
             bypassAccessCheck="false"
             name="AdminMapping"
             type="EPiServer.Web.Hosting.VirtualPathMappedProvider,EPiServer" />
    </providers>

<virtualPathMappings>
    <add url="~/your/relative/path/to/ui/admin/AdminGroup.aspx"
         mappedUrl="~/customadmin/AdminGroup.aspx" />
</virtualPathMappings>

 

#30742
Jun 17, 2009 16:05
Danie de Kock
Member since: 2006
 

Very nice!

 

Thanks for your help

#30743
Jun 17, 2009 18:48