Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rik Helsen 670 posts 873 karma points
    Sep 07, 2009 @ 14:34
    Rik Helsen
    1

    right-click (context) menu's stop working in backend when i adjust the backend path?

    For a client i want to rename the /umbraco/ admin folder to something different, say "admin" in this example.

    I make two changes in the web.config for this to work:

        <add key="umbracoReservedPaths" value="/umbraco/,/admin/" />
        <add key="umbracoPath" value="/umbraco" />

     

    For some reason after i do this, the context menu (rightclicking anything in the tree-structure on the left had side) no longer works in Firefox (it does in IE). The popup dialog appears for a brief moment and then dissepears...

    all help is very much appreciated!

  • Roel 151 posts 305 karma points
    Sep 07, 2009 @ 14:58
    Roel
    1

    I also ran into issues when I tried to rename the backoffice folder.

    Have a look at this post by Tim: http://blogs.thesitedoctor.co.uk/tim/2009/04/28/Fix+Missing+JavaScript+File+When+You+Rename+The+Umbraco+Admin+Directory.aspx It has to do with loading the xloadtree.js file.

    Tim came up with a rewrite rule, which makes sense. I did some testing myself, but I didn't get it to work unfortunately.

  • Rik Helsen 670 posts 873 karma points
    Sep 08, 2009 @ 10:28
    Rik Helsen
    2

    Thanks! that rewrite rule did the trick!

    The lines i added to urlrewriting.config are:

            <add name="missingjs"
        virtualUrl="^~/path-to-admin-directory_client/ui/(.*).js"
        rewriteUrlParameter="ExcludeFromClientQueryString"
        destinationUrl="~/umbraco_client/ui/$1.js"
        ignoreCase="true" />

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies