Joomla (1)

Why can't I read the default value of the parameter I added to my Joomla extension?

I added a parameter to my Joomla extension's XML file, but when I use params->get() in my code I get null or an empty string.

If you add a parameter to an extension, you need to uninstall it and install it again, not just update it. Joomla apparently only updates the parameter configuration on an extension "fresh" install.


Add a Comment

NOTE: Comments are moderated and will not show until approved.