Passing parameters to a component - Joomla! Forum - community, help and support


can 1 pass parameters component @ run-time?

i've written component (com_showpic) designed show picture , accompanying text. (it invoked user clicking on thumbnail image). component reads data text file (which contains information available pictures - size, title, price etc.) 2d array, output needs select correct line of array according picture number. ideally have call component follows - , let's want picture number 23:

index.php?option=com_showpic&task=view&pic_num=23

clearly can set component-wide parameter called 'pic_num' @ installation time - , default value can accessed jcomponenthelper - how can 1 update @ run-time via parameter?

help appreciated.

johnelk






Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO