Mian Shahid
Well-known member
Hi, i am trying to re-create my template modification
Remove user signatures from selected forums. to XML version, because many peoples do not like to modify templates manually (including me ).
As described in mentioned thread, this add-on will edit template message and replace
with
where 12, 22, 24 are node IDs.
For node IDs selection , i am trying to add "Option" where user can enter node IDs in which this replacement will apply.
and this is the setting which is not correct as i don't know how to set "Options"
I don't know the actual code to include Option with this replacement.
Need guidance from Experts?
Remove user signatures from selected forums. to XML version, because many peoples do not like to modify templates manually (including me ).
As described in mentioned thread, this add-on will edit template message and replace
Code:
<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
Code:
<xen:if is="!in_array({$forum.node_id}, array(12, 22, 24)) && {$visitor.content_show_signature} && {$message.signature}">
For node IDs selection , i am trying to add "Option" where user can enter node IDs in which this replacement will apply.
and this is the setting which is not correct as i don't know how to set "Options"
I don't know the actual code to include Option with this replacement.
Need guidance from Experts?