Posts Tagged with "component"

Calling plugin method inside custom component in Joomla 1.7

Thursday, September 1, 2011

1 Comment

You can call a plugin method inside a component and pass it data. You can have all your custom plugin in a group and give it a name for example “myplugins”. All the component needs to do is invoke the plugin, pass data and handle response.

Continue reading...

Using JTable class in a front end extension

Monday, August 22, 2011

0 Comments

Example codes to use Tables in Joomla Can use binding with following: To only use Model methods: To use in its own Model: In same component’s helper file or else: To use it from a another component:

Continue reading...

Loading a module in a component output

Monday, August 22, 2011

0 Comments

Soluotions 1: If you want to output all modules on a certain position, then use JModuleHelper::getModules(‘name_of_position’) and render the array of modules in a foreach-loop. Some XML around it and you have a XML-output (often used that to get modules into Flash). Solution 2:

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

Calling a plugin from a Component or another Plugin

Tuesday, August 3, 2010

0 Comments

You can use a plugins functions from another plugin or component using following codes. These are for Joomla 1.5 OR

Continue reading...

Including SQL queries inside component XML files

Monday, December 7, 2009

0 Comments

For install and uninstall process of component queries can be put into a separate SQL file, however if there are not lot of queries then they can also be included in component XML. For example after languages tags in XML file put following:

Continue reading...

Updating a component parameter from code

Sunday, December 6, 2009

0 Comments

Function to add/update configuration values for a component in code.

Continue reading...