XF 1.2 Get a Custom User Field in PAGE_CONTAINER

Hey everyone, I just wanted to change something in the PAGE_CONTAINER template depending on the value of a custom user field. I'm checking the value in the same way I've done it before:

<xen:if is="{$user.customFields.pageWidth}">
<div>it works</div>

But it's not working, it seems that it never gets the value of any custom field.
I was wondering if that's supposed to happen or I'm doing something wrong.

Last edited: