I have a joomla site and need an xml generating php script to run within it. The file is called by my module. The module works ok but I cannot get to create a php file that outputs the code, primarily because I can’t use things like$db =& JFactory::getDBO();
Anyone with an experience on this front?
If you are calling a file that is outside of the joomla framework, then you need to create an instance of the joomla application so the code has access to joomla.
This should give you access to the basics.