1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Customfields in page_container

Discussion in 'Styling and Customization Questions' started by Nudaii, Apr 10, 2013.

  1. Nudaii

    Nudaii Well-Known Member

    would it be possible to have the contents of a custom field show in page_container

    so far i have this

    Code:
    <div id="userlinkBar">
    test
    <xen:if is="{$user.customFields.link1title}">
    <a href="{$user.customFields.link1url}">{$user.customFields.link1title}</a>
    </xen:if>
    </div>
    "test" shows, and the styling etc is right, however the contents of the field don't show..

    any ideas?
     
  2. Nudaii

    Nudaii Well-Known Member

    Ah fixed it, needs to be $visitor not $user
     

Share This Page