Resource icon

XF 1 Tip Tutorial How to Create your own helpers

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,154
Points
823

Reputation:

LQD submitted a new resource:

Tutorial How to Create your own helpers - How to Create your own helpers

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)...

Read more about this resource...
 
Top