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...Monday, August 22, 2011
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...Monday, August 22, 2011
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...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...Tuesday, August 3, 2010
You can use a plugins functions from another plugin or component using following codes. These are for Joomla 1.5 OR
Continue reading...Monday, December 7, 2009
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...Sunday, December 6, 2009
Function to add/update configuration values for a component in code.
Continue reading...
Thursday, September 1, 2011
1 Comment