Posts Tagged with "parameters"

Saving default component settings in Joomla 1.6 and 1.7 component installation

Sunday, October 2, 2011

2 Comments

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...

Retrieving Joomla 1.6/1.7 Component, Module, Plugin and Template Parameters

Thursday, August 18, 2011

2 Comments

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...

Retrieving Joomla 1.5 Component, Module, Plugin and Template Parameters

Thursday, August 18, 2011

0 Comments

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...

Retrieve Component parameters in plugin

Wednesday, August 18, 2010

0 Comments

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...

Module installing database table in Joomla 1.5

Friday, March 5, 2010

3 Comments

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...