Re: [Dhis2-devs] Apps and Menu's (Relative) Location

2015-04-22 Thread Timothy Harding
Hey there Mark, Thanks for taking another look at this with me :) I'm running 2.18 using the Sierra Leone test database I loaded up your app and of course because I don't have the ROOT.war sitting in a dhis folder it didn't work right off the bat, but I was intrigued how you formed your

Re: [Dhis2-devs] Apps and Menu's (Relative) Location

2015-04-22 Thread Mark Polak
Hey Timothy, Thats good to hear. When you mentioned that changing the base url didn’t change the helplink’s url i remember that that helplink code was added by someone else and they probably didn’t realise it might be used outside of the core scope and hardcoded a ../“. So i had to change that

Re: [Dhis2-devs] Apps and Menu's (Relative) Location

2015-04-21 Thread Mark Polak
Hey Timothy, Have you added the baseUrl config above where you include dhis2.menu.js and dhis2.menu.ui.js? This should set a base url for where the menu script will look to find your files. (By default this is set to .. which is likely the reason it looks in the wrong place) You will have

[Dhis2-devs] Apps and Menu's (Relative) Location

2015-04-20 Thread Timothy Harding
Hello, I'm just getting started out with the app development and I started with the tutorial found here: https://www.dhis2.org/doc/snapshot/en/developer/html/ch02s07.html I had to modify the scripts locations because instead of looking here: localhost:8080/ It goes searching here: