Blast Active member May 24, 2016 #1 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.
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.
Liam W in memoriam 1998-2020 May 24, 2016 #2 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 Upvote 0 Downvote
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
Blast Active member May 24, 2016 #3 Liam W said: 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 Click to expand... Hey Liam. I apologize for this, but I can't seem to find that file anywhere. Where is it located? Upvote 0 Downvote
Liam W said: 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 Click to expand... Hey Liam. I apologize for this, but I can't seem to find that file anywhere. Where is it located?
Liam W in memoriam 1998-2020 May 24, 2016 #4 Blast said: Hey Liam. I apologize for this, but I can't seem to find that file anywhere. Where is it located? Click to expand... library/XenForo/Template/Helper/Core.php It might be in one of the other files around that area. Liam Upvote 0 Downvote
Blast said: Hey Liam. I apologize for this, but I can't seem to find that file anywhere. Where is it located? Click to expand... library/XenForo/Template/Helper/Core.php It might be in one of the other files around that area. Liam
Blast Active member May 24, 2016 #5 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>? Upvote 0 Downvote
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>?
Blast Active member May 24, 2016 #7 Thank you very much @Liam W. Couldn't have done it without your help. Upvote 0 Downvote