I'm working on two web applications at the moment. One I started a long time ago and one new one. In the older one I created a very simple class which set a theme for pages which called it. I've added this to my new project but when I called it I got a not defined message for the class name.
The only way I seem to be able to call it is to prefix the class name with the application name:
appname.classname.subname
However in the older app I can simply call it using:
classname.subname
I've racked my brains trying to see a difference between the two apps. My concern is that by hardcoding the appname when using the class, if I change the app name for any reason it will break my code.
Any thoughts on why I can't use classname.subname to run the subroutine from my class file?
...
Go to the complete details ...