Resource icon

XF 1 Tip Using variables in templates

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,121
Points
823

Reputation:

LQD submitted a new resource:

Using variables in templates - Using variables in templates

It's not always obvious whether a variable will work in a template.

By variable I mean something like $forum, $thread, $post, etc.
These would typically be used in conditional statements, utilising the node, user, or position ID, for example $forum.node_id, $thread.user_id,$post.position.

There is, however, an easy way to check whether a variable is available and can...

Read more about this resource...
 
Top