securedme Active member May 22, 2021 #1 e.g. [custom thread field A] age : 23 [custom thread field B] gender: male I would like to wrap the output of CTF B as: 23 year old male where '23' is the {$value} of CTF A Is it possible at all?
e.g. [custom thread field A] age : 23 [custom thread field B] gender: male I would like to wrap the output of CTF B as: 23 year old male where '23' is the {$value} of CTF A Is it possible at all?
Kruzya Well-known member May 22, 2021 #2 You can disable displaying a values of custom field and implement displaying in required format in templates. Upvote 0 Downvote
You can disable displaying a values of custom field and implement displaying in required format in templates.
securedme Active member May 22, 2021 #3 Kruzya said: You can disable displaying a values of custom field and implement displaying in required format in templates. Click to expand... The second part seems to be a big challenging for me as I'm not an experienced coder. In corresponding template, I guess the part that listing CTFs is in the form of a loop. Code: Until the end, for every CTF { show: {$name} : {$value} } I can add a line to check when {$name} is my target, then change it to something I want. But how do I get the {$value} of another {$name}? Sorry I'm really not a capable coder. Upvote 0 Downvote
Kruzya said: You can disable displaying a values of custom field and implement displaying in required format in templates. Click to expand... The second part seems to be a big challenging for me as I'm not an experienced coder. In corresponding template, I guess the part that listing CTFs is in the form of a loop. Code: Until the end, for every CTF { show: {$name} : {$value} } I can add a line to check when {$name} is my target, then change it to something I want. But how do I get the {$value} of another {$name}? Sorry I'm really not a capable coder.