When developing a component for Joomla 1.6 / 1.7 I came accross the issue that it does not save defaut values in database. So users had to open component configuration and save to have the settings take effect. Looking into components folder in #__component_name show ‘{}’ meaning no parameters at all. Solueiton was to use postflight [...]
Continue reading...Thursday, August 18, 2011
In Joomla 1.6/1.7 parameters enable users to configure settings that later can be used in code of extensions and templates. Following are the ways that can help a developer to access these parameters. Component Parameters From inside a Component: From outside a Component: Module Parameters From inside a Module: From outside a Module: Plugin Parameters [...]
Continue reading...Thursday, August 18, 2011
In Joomla 1.5 parameters enable users to configure settings that later can be used in code of extensions and templates. Following are the ways that can help a developer to access these parameters.
Continue reading...Wednesday, August 18, 2010
Using following code component parameters can be retrieved in plugins and modules. If component has parameters in its Global Configurations use following: Use following if component have configurations inside component page:
Continue reading...Friday, March 5, 2010
By default Joomla module do not come with the functionality of creating table or running any queries with install. With a little bit of code and a parameters flag database queries can be run on first run of module when it is published. Step 1: Add a parameter flag in xml file. and in your [...]
Continue reading...
Sunday, October 2, 2011
2 Comments