Let me say right up front, I'm new to Joomla and PHP. We are running Joomla 1.5RC2, but have never run a previous version of Joomla (so we have no experience with Joomla 1.0 to compare our current situation with).
While trying to get the Sitemaps working, I downloaded an installed Joomla! Extension "Dynamic gSitemap" (
http://extensions.joomla.org/component/ ... /Itemid,35)
It didn't exactly work for us right out of the box. Every attempt to use it resulted in an error trying to contact the MySql database server. I liked the architecture of the extension enough to invest a bunch of hours trying to get it to work on our site. After much struggling, I discovered the problem. It would appear to that gSitemap extension requires all the Joomla config variables to be of the format
$mosConfig_. If I understand this correctly, this is the old format, left over from the split away from Mambo.
The new Joomla configuration.php format does not seem to use this format, but instead relys on a JConfig class. I'm not exactly sure how to use the new class but it looks like a better system (I assume php classes are namespace managers, designed to reduce global namespace pollution).
So, I started to hard code the
mosConfig_ values I needed in the Sitemap Extension. After doing so, the sitemap system started working.

But before I moved on, I decided to do a global GREP of the source in Joomla to see if other modules make reference to
mosConfig_ variables as well. I discovered dozens of modules that also seem to require
mosConfig_ format as well. As near as I could tell, they were extensions we had installed into our Joomla! system and were not part of the Core Joomla system.
I've therefore moved the
mosConfig_ variables into the configuration.php file to hopefully help these other modules function as well.
Clearly there's something I don't understand, and I was hoping someone could help shed some light on what's going on. Can someone help set me straight on why these variables were required? Feel free to point me to a Forum or RTFM link. I tried to find such links myself, but wasn't able to.
Sorry for such a 101 question, but I'm trying to get my footing and Googling my questions didn't seem to help. I'm positing the Migrating/Upgrading topic because I assume this is something todo with a difference between Joomla 1.0 and 1.5. If I've posted in the wrong forum, I'd appreciate a pointer to the right place.
Thanks Much
Jim C.