XF 1.5 Where to edit helpers?

Blast

Active member
I want to edit this:
{xen:helper sortArrow, $order, $orderDirection, reply_count}

And hoping to replace the up and down to font awesome icons instead.
 
There's a static field in XenForo_Template_Helper_Core I believe that holds all the callbacks.

You just have to change the callback, or change the code in the callback.

Liam
 
There's a static field in XenForo_Template_Helper_Core I believe that holds all the callbacks.

You just have to change the callback, or change the code in the callback.

Liam
Hey Liam. I apologize for this, but I can't seem to find that file anywhere. Where is it located?
 
Thanks Liam. I found it now. I haven't worked with PHP before as I find it way too complicated.

So this is the line inside:
Code:
public static function helperSortArrow($order, $direction, $fieldName, $descOutput = ' ↓', $ascOutput = ' ↑')

Since &XXX; is html, would it be possible for me to replace those with an HTML tag <i></i>?
 
Xokry3v.png

3NreowD.png


Thank you very much @Liam W. Couldn't have done it without your help.
 
Top Bottom