xF1 How to create your own helpers

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Heisenberg submitted a new resource:

    - I'll teach you how to create your own helpers to use in templates.

    Helpers provide extra functions that you can use inside the XenForo templates.

    Currently there are many Helpers, following some them:

    avatar -> Helper to fetch the URL of a user's avatar.
    username -> Produces a <a href="members/username.123" class="username">Username</a> snippet.
    usertitle -> Helper to get the user title for the specified user.
    richusername -> Outputs the necessary HTML for a rich username (includes the display style markup class)....

     
    Last edited: