Hi there,<br><br>I have trying to include the following variables in a Smarty template content item but they keep ending up blank:<br>{$gw_address}<br>{$gw_port}<br>{$gw_id}<br><br>I am assigning them in the /login/index.php page like so:<br>

$ui->smarty->assign('gw_address', $gw_address);<br>$ui->smarty->assign('gw_port', $gw_port);<br>$ui->smarty->assign('gw_id', $gw_id);<br>$ui->smarty->assign('host', $host);<br>

<br>If I put the assigned smarty variable into the MainUI_Display.tpl template they display their values but if you put it into the content of a Smarty template object they do not display.  I have tested the suggested code of {debug output='html'} and can see all the variables displayed with their values and when I use {$nodeId} it displays the information correctly.<br>

<br>I have found that the nodeId value is setup in the fetch method of the SmartyWifidog and I have played around with assigning test variables there and they do get resolved when i put them into the Smarty template object content.<br>

<br>The only thing I can think of is that when each content itme is processed the Smarty object is created each time so the assignment statement of $ui->smarty->assign in the /login/index.php file is not referring to the correct Smarty object.<br>

<br>Any help would be greatly appreciated.<br><br>Regards<br>Jason<br>