I managed to rebuild the DLL with the changes using an open source version of uBlogsy. Didn't realise there was an open source version. I was using .NET Reflector to view the source of the DLL file, which is why I made my original post.
Anthony, I require the use of relative path during development. I have uBlogsy installed within an umbraco website. During development, I have the website hosted under "http://development-server/website/". With uBlogsy, the DLL calls the path "/usercontrols/uTagsy/" from "http://development-server/" instead of "http://development-server/website", which is causing errors.
Perhaps you could look at giving uBlogsy support under relative paths, as I'm sure others will probably run with the same issue in the future.
Relative Path.
Hello,
I've installed uBlogsy and really liking it so far.
I'm currently having issues getting uBlogsy to work nicely under a relative path.
In the umbraco admin interface, when I try to click on a post, or try to create a new post I get the following error:
Failed to map the path '/usercontrols/uTagsy/settings.json'.
The problem lies in the DLL file for uBlogsy. The FILE contstant is not relatively pathed:
Namespace: uTagsy.Web.usercontrols.uTagsy.datatypes.uTagsy
private const string FILE = "/usercontrols/uTagsy/settings.json";
Can you help me by allowing this path to be relative? I'm not sure if other classes in the DLL are affected as well.
Thanks.
Hey,
Seems like you've already solved it.
I'm assuming you would just need to change the line to
private const string FILE = "~/usercontrols/uTagsy/settings.json";
Then rebuild the source?
Rich
Hi Nic
I'm not quite sure what you mean by "relative path". The uTagsy data type files should always be under the /usercontrols/uTagsy/ folder.
I managed to rebuild the DLL with the changes using an open source version of uBlogsy. Didn't realise there was an open source version. I was using .NET Reflector to view the source of the DLL file, which is why I made my original post.
Anthony, I require the use of relative path during development. I have uBlogsy installed within an umbraco website. During development, I have the website hosted under "http://development-server/website/". With uBlogsy, the DLL calls the path "/usercontrols/uTagsy/" from "http://development-server/" instead of "http://development-server/website", which is causing errors.
Perhaps you could look at giving uBlogsy support under relative paths, as I'm sure others will probably run with the same issue in the future.
Cheers for the help guys.
ah now I get what you mean
ublogsy will work fine under relative paths...utagsy wont.
you can replace the tag control with the standard umbraco one if you like... i just made my own because i wanted it.
is working on a reply...