XF 2.0 Access array options in template

hemant_bhardwaj

Well-known member
Hi,

Is it possible to use the array options inside template, tried so far but seems not possible unless I am missing something ?
my option is -> 1538998390497.webpI am trying to get the value of an array option in template and want to use it with condition

example
<xf:if is="{$thread.node_id} == {$xf.options.node_id_for_thumb} ">
///// My code////
<xf:else />

i want to run the code if node id is = 2 then code will run
 
Top Bottom