Code: Select all
'topic_colour' => $request->variable('colour', '', true),
Code: Select all
'topic_colour' => $request->variable('colour', '', true),
<!-- BEGIN x -->
and <!-- END x -->
and use
Code: Select all
$messenger->assign_vars([
'USR_TPC_LIST' => $topic_links,
]);
USR_TPC_LIST
array with {% for user_topic in USR_TPC_LIST %}
.%
operator has higher priority than +
. This should work:Code: Select all
{% if loops.postrow|length > 1 and (postrow.S_ROW_COUNT + 1) % 5 == 0 %}