Add a reply

ACCORD5 Company Forums » Trellis Desk » Peer-to-Peer Support

How to get custom ad_member field on frontend visible

  • Started 5 years ago by marcelv9
  • 2 posts in this topic
  • Latest reply from marcelv9
  1. User has not uploaded an avatar


    I have added a field to ad_member.php. I now have this field visible in the account/member configuration , and users can check true or false. This works correctly, and is also visible in the database (tinyint, 1 or 0).

    I want the value of this field visible on the homepage once a user is logged in. So i changed the temlpate file (wrapper.tpl). I added this line of code:
    'staff {$member['isstaff']}'. The name of my field is 'isstaff' everywhere. Whenever I change this field to for example 'dst_active', it works. It shows 0 or 1. But the value of isstaff just does not showup.

    How can I do this? Any help would be appreciated. Thanks in advance.

    Posted 5 years ago #
  2. User has not uploaded an avatar


    Nevermind, found it! I had to change my select query in class_session

    Posted 5 years ago #

RSS feed for this topic


You must log in to post.