after installing the package, under developer section, scripting files node it creates one folder ublogsy which is having all razor scripts.
But when I click on any razor file... it shows the content in very small window and also file name appears as uBlogsy\uBlogsyBrowserTitle.cshtml and not uBlogsy/uBlogsyBrowserTitle.cshtml. i.e. '/' problem.
Why is it so? How can I see whole file content? When I click on any other razor scripts they are shown properly.
I noticed this too when I wanted to tweak one or two of them.
However, you can copy the text and create a duplicate one at the scripts root level. Even though the ones in the uBlogsy sub folder don't save, then will delete ok.
You then need to ensure that the macro points to the new script and that any uBlogsy scripts that call rendermacro on the old script or updated with the new path.
It seems that if you change the backslash (\) to a forward slash (/) in the filename, the file gets saved. The only problem is that you have to do that every time you want to change the file.
razor scripts folder
after installing the package, under developer section, scripting files node it creates one folder ublogsy which is having all razor scripts.
But when I click on any razor file... it shows the content in very small window and also file name appears as uBlogsy\uBlogsyBrowserTitle.cshtml and not uBlogsy/uBlogsyBrowserTitle.cshtml. i.e. '/' problem.
Why is it so? How can I see whole file content? When I click on any other razor scripts they are shown properly.
I am using 4.7.1.
also, noticed now that scripts files are not getting saved. Is it problem of ublogsy or umbraco that it doesnot allow scripts in sub-folder?
I noticed this too when I wanted to tweak one or two of them.
However, you can copy the text and create a duplicate one at the scripts root level. Even though the ones in the uBlogsy sub folder don't save, then will delete ok.
You then need to ensure that the macro points to the new script and that any uBlogsy scripts that call rendermacro on the old script or updated with the new path.
Hope that workaround helps.
yes that is one solution. but didnt wanted to change at all places the path of scripts...
anyways thanks.
Found another workaround here: http://umbraco.codeplex.com/workitem/30422
It seems that if you change the backslash (\) to a forward slash (/) in the filename, the file gets saved. The only problem is that you have to do that every time you want to change the file.
ok.. wil check out
is working on a reply...