Joomla Session Variable as Plugin Parameter
Posted
by dosboy
on Stack Overflow
See other posts from Stack Overflow
or by dosboy
Published on 2010-06-12T17:17:06Z
Indexed on
2010/06/12
17:22 UTC
Read the original article
Hit count: 220
joomla
I have a Joomla plugin which takes varying parameters. I need to retrieve one of these parameters from the current session. I've tried using Jumi and a little PHP snipped to retrieve the value and output it in the plugin's parameter list, but the Joomla plugin parser only handles the outter-most set of curly braces. ex.
{fabrik view=table id=62 resetfilters=1 fab_tours_ro___tour_id=[tour_id]}
[tour_id]
I need to retrieve from the current session. I've tried
{fabrik view=table id=62 resetfilters=1 fab_tours_ro___tour_id={jumi [scripts/get_tour_id.php]}}
In that case the {jumi}
tag never gets parsed. I could hack the {fabrik}
plugin, but I'd prefer to do this without making any core or component changes, especially since I update Fabrik quite regularly via svn.
© Stack Overflow or respective owner