How send php variables in tpl
  • AlexMQAlexMQ
    Posts: 18Member
    $test = $this->get_template_vars('author_const');
            $test =  base64_encode($test);

    How send $test variables in tpl
  • 2 Comments sorted by
  • Martin SaturkaMartin Saturka
    Posts: 26Member
    If you mean, how to put the php variable back into a template variable, I usually use:
    $template->assign('author_const', $test);

  • AlexMQAlexMQ
    Posts: 18Member
    Yes, thank you