Joomla Session Variable as Plugin Parameter
- by dosboy
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.