HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Customizing KB Templates


Is it possible to remove the left and right arrow characters (represented by →) from the bottom next and previous links in the knowledge book templates? I have looked in the template files and I don’t see the → in the HTML so I’m thinking that it’s put in there by the $this->splugin() function.


Yep it is output by that. What you can do is setup a string replace using PHP. Something like this should work:

<?php echo str_replace('→', 'New Code',$this->splugin('KB_Tree','getPrevPage', $this->get_id)) ?>

You’ll need to do that for each one and on both the top and bottom. It’s also probably in a few templates for pages and chapters.