XF 2.0 Using Another Custom User Field "Field ID"

Gator

Well-known member
I made two Custom User Fields

User Field "Alpha" = Text (Name input)
User Field "Bravo" = URL

In User Field Alpha, I added some "Value display HTML" like this
<a href="{$visitor.customFields.Bravo}">{$value}</a>

But when I look at the message/post (under user info), the text displays but the link doesn't work because it is not pulling the information/data from "Bravo". If that makes any sense
 
Last edited:
See the description under the "value display HTML" field. That tells you the only tokens that are valid in it. You an't use any other variables.

If you want to do anything more complex, you need to do it in templates directly.
 
I made two Custom User Fields

User Field "Alpha" = Text (Name input)
User Field "Bravo" = URL

In User Field Alpha, I added some "Value display HTML" like this
<a href="{$visitor.customFields.Bravo}">{$value}</a>

But when I look at the message/post (under user info), the text displays but the link doesn't work because it is not pulling the information/data from "Bravo". If that makes any sense
Hi,

Did you find a solution to this? I am trying to do similar but I couldn't manage it.
 
Back
Top Bottom