XenForo
Administrative
- Thread starter
- Admin
- #1
I would like to display an additional value for every thread in the thread view and the thread list (forum view), which i calculate with an php function.
My problem: what is the best way to make a variable useable in an tempalte from an php file? And How?
I found 2 solutions. The callback tag in template (which calls the php function) or the possiblity to add the variable to an object like $forum (in my case $thread) in php.
What solution is more efficient and advisable in my case...
Read more
ادامه مطلب...
My problem: what is the best way to make a variable useable in an tempalte from an php file? And How?
I found 2 solutions. The callback tag in template (which calls the php function) or the possiblity to add the variable to an object like $forum (in my case $thread) in php.
What solution is more efficient and advisable in my case...
Read more
ادامه مطلب...