![Mamba](https://xoops.org/uploads/cavt4afcaa491477b.jpg)
Try to make the same changes in your installation and let us know if it worked.
liomj wrote:
lasttime before the xoops upgrade to smarty 3 this is working<{assign var="cid" value=$downloads.cid}>
<{php}>
$catid=$this->get_template_vars('cid');
<{/php}>
now after using
XOOPS 2.5.11-Stable with smarty 3
i receive this errorError : Error: Using $this when not in object context
how to update this code ?
<{assign var="cid" value=$downloads.cid}>
<{php}>
$catid=$_smarty_tpl->get_template_vars('cid');
<{/php}>