I am having problems using relative paths within our milonic installation. I have defined a global variable within menu_data.js called baseurl which contains a string which represents the base URL for the site where milonic will be used on our server.
I’ve tried what you suggested i.e. using / as opposed to ../ or ./ and this isn’t working as / takes me to the IIS Server root (this is not the same as the root directory of the website which uses the miloic menu).
I’ve tried to solve the problem by using HTML Base tags on each of the ...
Thanks for the replay but I was actually hoping that I could use relative paths within the menu_data.js file so that all the menu item URL’s are relative to the site root - I’ve tried using ./foldername/file.htm and ../foldername/file.htm but this doesn't appear to be working on some of my pages ...
I’ve just configured Milonic for use on our intranet site and am having some problems in getting the scripts to work. The scripts work fine as long as the page on which the script block is placed is in the same directory as the .js (JavaScript) files. However if try to use Milonic on a page which is ...