[solved] Simple $gCms question for cms_selflink tag
Posted: Mon Dec 15, 2008 1:11 am
I am using the cms_selflink tag to pass a url parameter to another page.
I'm trying to figure out how to access the parameter in the Smarty template on the new page. I've used {get_template_vars} to locate the params object in $gCms, and verified that the actual value is being passed successfully. (In this case it is &model=hdfksyr3ef)
The question is how to access it. The $gCms object is so enormous, all the combinations I've tried have failed.
{$gCms->params|print_r} doesn't work.
Any suggestions?
I'm trying to figure out how to access the parameter in the Smarty template on the new page. I've used {get_template_vars} to locate the params object in $gCms, and verified that the actual value is being passed successfully. (In this case it is &model=hdfksyr3ef)
The question is how to access it. The $gCms object is so enormous, all the combinations I've tried have failed.
{$gCms->params|print_r} doesn't work.
Any suggestions?