hi,
i have this function in my page.php:
public function Pid() {
return strip_tags(Session::get('PID'));
}
this functions returns me a session in all my pages. and then i have this code in my tempalte:
<% control Children %>
$Link
<br/>
<% end_control %>
this just writes down some links. and now i want to attach the session value to this link and
i tried this:
<% control Children %>
$Link$Pid
<br/>
<% end_control %>
that dont work. i also recognized that i cant use $Pid in the control block, if i put $Pid somewhere
outside it will display the correct session variable.
how can i pass the session variable into this control block or how can i attach it the $Link?
thx
daniel