I am using NewsPublisher and want to add some cutom code to the &listoutertpl=listOuterTpl
chunk.
Wanted to use a output filer here also but this does not seem to work.
Can I use ouput filters inside NewsPublisher tpl chunks?
I tried:
[[+np.error_[[+npx.fieldName]]]]
<div
id="np-[[+npx.fieldName]]-container"
class="[[+npx.class]] block text-sm font-medium leading-6 text-gray-900"
title="[[+npx.help]]"
>
[[+npx.caption]]
<select
name="[[+npx.name]]"
class="block rounded border border-gray-300 py-[0.32rem] text-base"
size="[[+npx.size]]"
[[+npx.multiple]]
data-te-select-init
data-te-select-filter="true"
>
[[+npx.options]]
</select>
</div>
[[!+npx.fieldName:isequalto=`test`:then=`TEST`:else=`DEFAULT`]]
But this
[[!+npx.fieldName:isequalto=`test`:then=`TEST`:else=`DEFAULT`]]
does not work and I see DEFAULT even when npx.fieldName is test…
Any other way to get several different listOuterTpl chunk in NewsPublisher? Depending on the TV that is used?