XF 2.0 Getting custom field value in a template issue.

hyperdude95

Member
Hello!

In a xenforo 2.01 test site, I made a custom field to put text in and I wanted to get the text inside a template. i tried placing in the page container template <p>{$user.customFields.dbCustom_Theme}</p> and also replaced user with visitor but no luck on both sides. :( Not sure what i did wrong?

dbCustom_Theme is the field ID. :)

in page container:

e788386fa638b9a741236c9f8fc03dd4.png


custom field entry:

8e0f92efcbf811cb75a21729b33e53ee.png


result on site (there is no text):

629d99fe668a07a9855838f50352a8cd.png


Custom theme field:

266f371b4e4c917e8ac16c495e582e4d.png
 
Top Bottom