{* $params - url params $column.urlPattern - url pattern that will be combined with $params using vsprintf [$column.showFlag = true] - field that specifies link visibility [$column.activeFlag = true] - field that specifies link activity [$column.textField = $column.defaultText] - item title [$column.truncateLength = 80] - text truncate length *} {if !isset($column.showFlag) || !empty($row[$column.showFlag])} {assign var='text' value=$row[$column.textField]|default:$column.defaultText} {assign var='truncateLength' value=$column.truncateLength|default:'80'} {if $column.urlPattern && $params|@array_filter && (!isset($column.activeFlag) || !empty($row[$column.activeFlag]))} {$text|truncate:$truncateLength|htmlspecialchars|nl2br|default:$column.defaultText} {else} {$text|truncate:$truncateLength|htmlspecialchars|nl2br|default:$column.defaultText} {/if} {else} - {/if}