When installing an Umbraco site, I changed my umbraco admin url from '/umbraco/' to '/myadminurl/', even before I went through the install process.
Just like it's documented, I changed in the web.config the keys 'umbracoReservedPaths' and 'umbracoPath' to match my new admin url.
Installed and everything is working fine, except for one thing: All the nodes in the trees in all sections aren't showing any thumbnails. There used to be a win folder thumb before each tree node, but now it's just empty, except for the 'packages' node in the developer section, and for the recycle bin thumb.
I've just taken a look at the CSS for the Umbraco back-office. It looks like the image reference for the tree icons are hard-coded to use the "/umbraco" path.
If you need the icons to display - you have 2 options.
1. Manually create the path to the image? The CSS is specifically looking for...
/umbraco/images/umbraco/sprites.png
2. Change the reference in the CSS, (rule for ".tree.tree-umbraco li a") ...
Sorry to bother you again, but I believe this is one more stupid thing...
After changing the admin UI Url from Umbraco to another name, the MasterPage save option and XSLT edit save option stopped working...
I only noticed now, because I manually copied all that was needed from the local dev test website to the production, and only now needed to change a few things...
The error I get is similiar in both, but in different files:
When trying to save a MasterPage I get this error:
Don't know if Daniel solution works, but for me, after tried almost everything, ended up doing a clean umbraco install, configured exactly the same and got no problems.
Seems like umbraco messed up things a little bit on the process...
Page not found No umbraco document matches the url 'http://192.168.206.117/umbraco/'
umbraco tried this to match it using this xpath query'/root/* [@urlName = "umbraco"] | /root/*/* [@urlName = "umbraco"]')
This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.
For more information, visit information about custom 404 on the umbraco website.
Thanks Daniel, that solved my issue. I first begun to rename all over umbraco to admin, and tree wasn't loading in content tab. Was a total mass. Your solution is easy. Regards.
Daniel, I wonder now how can I do that when I access mysite/umbraco/ to redirect/rewrite url at mysite/admin/. Because now I see that I can still access it even as before (sitename/Umbraco/) I also noticed that when I go to sitename/admin/ and I am not logged it show in address bar sitename/umbraco/login...
Umbraco Admin UI not showing Tree Nodes thumbnail
Hi there,
When installing an Umbraco site, I changed my umbraco admin url from '/umbraco/' to '/myadminurl/', even before I went through the install process.
Just like it's documented, I changed in the web.config the keys 'umbracoReservedPaths' and 'umbracoPath' to match my new admin url.
Installed and everything is working fine, except for one thing: All the nodes in the trees in all sections aren't showing any thumbnails. There used to be a win folder thumb before each tree node, but now it's just empty, except for the 'packages' node in the developer section, and for the recycle bin thumb.
Am I missing anything else I should had changed?
Thanks!
Hi João,
I've just taken a look at the CSS for the Umbraco back-office. It looks like the image reference for the tree icons are hard-coded to use the "/umbraco" path.
If you need the icons to display - you have 2 options.
1. Manually create the path to the image? The CSS is specifically looking for...
2. Change the reference in the CSS, (rule for ".tree.tree-umbraco li a") ...
Good luck!
Cheers, Lee
Hi Lee,
Thanks for your answer!
I edited the hard-coded reference in the css and now the admin UI is fully featured again! :)
Thanks a lot! ;)
Cheers, João
Hi Lee again,
Sorry to bother you again, but I believe this is one more stupid thing...
After changing the admin UI Url from Umbraco to another name, the MasterPage save option and XSLT edit save option stopped working...
I only noticed now, because I manually copied all that was needed from the local dev test website to the production, and only now needed to change a few things...
The error I get is similiar in both, but in different files:
When trying to save a MasterPage I get this error:
When trying to save a XSLT I get this error:
The referred lines are javascript code that start with: umbraco.presentation.webservices.codeEditorSave.SaveXslt(...)
Both pages have this on Page definition in aspx header: Inherits="umbraco.cms.presentation.settings.editTemplate"
Am I missing something? Thanks!
Hi,
Did you find a solution to the 'umbraco is undefined' problem? I can't save xslt or templates.
Windows 2008, IIS7, upgrade from 4.0.2 to 4.5.2. Everything else (I think) working fine. Have tried various app pool things, file permissions etc etc.
Thanks for any help,
Thi s can be resolved by adding the following to UrlRewriting.config.
<add name="renamedadmin" virtualUrl="^~/umbraco/(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/admin/$1" ignoreCase="true" />
Change ~/admin to your new folder name
Be aware that some packages will break during installation since they reference the ~/umbraco folder specifically.
You could also keep the folder as /umbraco and simply add the following line to the UrlRewriting.config
<add name="renamedadmin" virtualUrl="^~/admin/(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/umbraco/$1" ignoreCase="true" />
Hi Paul,
Don't know if Daniel solution works, but for me, after tried almost everything, ended up doing a clean umbraco install, configured exactly the same and got no problems.
Seems like umbraco messed up things a little bit on the process...
Hope you can help the clean install.
Cheers!
Hello,
I tryed to install umbraco 4.5.2 .net 3.5 on windows server 2008 r2 whith IIS 7.0 and .net 3.5.
No problem with the manual installation but in back-end umbraco not show the packages tree ...
Anyone please help me!
Thanks
Fabio
When you say manual, did you check folder permissions?
Check this Matt Brailsford blog post to see if it helps:
If the problem persists, why don't you try the Microsoft Web Platform installer?
Cheers!
Got sidetracked on other stuff...
Thanks Daniel, your solution worked perfectly... And I'll also be using the URL rewrite for admin folder thing on another site. Cheers!
Glad to here everything is working for you.. Glad I could assist.
Don't forget to make my previous comment as your solution in order help others.
Daniel's solution looks nice, however I can manage to make it work.
After I have been working on project client said must rename umbraco to admin.
I inserted this in UrlRewriting.config
<add name="renamedadmin" virtualUrl="^~/umbraco/(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/admin/$1" ignoreCase="true" />
<add name="renamedadmin" virtualUrl="^~/admin/(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/umbraco/$1" ignoreCase="true" />
Now, when I go to my admin page, http://192.168.206.117/admin/ -> says
Page not found
No umbraco document matches the url 'http://192.168.206.117/umbraco/'
umbraco tried this to match it using this xpath query'/root/* [@urlName = "umbraco"] | /root/*/* [@urlName = "umbraco"]')
This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.
For more information, visit information about custom 404 on the umbraco website.
This page is intentionally left ugly ;-)
Which are the steps?
Pick one or the other for the urlrewriting, not both.
If you name the folder /admin use the first rewrite. (will brake some packages)
If you keep the folder /umbraco use the second rewrite. (recommended)
Thanks Daniel, that solved my issue. I first begun to rename all over umbraco to admin, and tree wasn't loading in content tab. Was a total mass. Your solution is easy. Regards.
Daniel, I wonder now how can I do that when I access mysite/umbraco/ to redirect/rewrite url at mysite/admin/. Because now I see that I can still access it even as before (sitename/Umbraco/) I also noticed that when I go to sitename/admin/ and I am not logged it show in address bar sitename/umbraco/login...
is working on a reply...