Try our conversational search powered by Generative AI!

Changes to EPiServer Core aspx files

Vote:
 

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
Vote:
 

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
Vote:
 

Very nice!

 

Thanks for your help

#30743
Jun 17, 2009 18:48
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.