I've tested with this UDT and a LISE Instance and get an 500 error:
Code: Select all
$smarty_data = "{LISEEmployees category='assets' xs_issued='1' template_summary='total'}";
$smarty->display('eval:'.$smarty_data);
Code: Select all
PHP Notice: Trying to access array offset on value of type null in /lib/smarty/sysplugins/smarty_resource_recompiled.php(52) : eval()'d code on line 18\n
Code: Select all
$smarty_data = "{$CustomGS.META_Keywords}";
$smarty->display('eval:'.$smarty_data);
Code: Select all
Invalid code entered.
syntax error, unexpected '.', expecting :: (T_PAAMAYIM_NEKUDOTAYIM)
Code: Select all
Cms Version: 2.2.21
phpversion: 7.4.33
So what do i have to do different to use Smarty tags in an UDT?