TplIf::rowSet($row); $tpl->copy_template = preg_replace_callback( "#...#is", "myFunction", $tpl->copy_template );
В инклюдных шаблонах тоже работает?
TplIf::setRow($row);
TplIf::setRow([ 'field_string' => 'значение', 'field_integer' => 54, 'field_date' => 1509002550 ]);
[if field_integer>20] ... [/if] [if date.field_date='2017-10-26'] ... [/if]
The itemprop attribute was specified, but the element is not a property of any item. /span></a><meta itemprop="position" content="1" /></li><
The itemprop attribute was specified, but the element is not a property of any item. /span></a><meta itemprop="position" content="2" /></li><
[if xfvalue_allow_cart && xfvalue_cart_count] тут кнопка [elseif !xfvalue_cart_count] товар закончился [else] снят с продажи [/if]
SELECT sum(`cost`) as sum FROM dle_cart WHERE user_id = 123 AND status = 3;
{jsfiles}