Thursday, 22 August 2013

Joomla pass value from component to use in plugin and module

Joomla pass value from component to use in plugin and module

how can I pass a value from component or set the certain value on a
certain page that it then could be use in the plugin or module of joomla.
For example in this view index.php?option=com_mycom&view=myview I will set
$a = 1 (It could be generate from database) every time people come to this
address there will be an variable $a = 1 that i could use it in my plugin.
I know some people suggest using session but it is not a good way to me to
solve this problem.
Thanks in advance

No comments:

Post a Comment