• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[SchmitzIT] How to add forum icons in tabs added with listeners

SchmitzIT

Well-known member
#1
SchmitzIT submitted a new resource:

[SchmitzIT] How to add forum icons in tabs added with listeners (version 1.0) - Add icons to your tabs

In our old vB forum we used to have icons on our navigation tabs. We wanted to have the same thing in xF, and implementing this in the default tabs was easy, but the dynamically added tabs posed a wee bit more of a challenge.
Luckily, it is still fairly easy to accomplish, thoug, and here is how.

First off, find the template navigation. In it, look for lines 75 and 159:

Code:
                <a href="{$extraTab.href}" class="navLink">{$extraTab.title}</a>
Replace both cases with:...
Read more about this resource...
 

Echelon

Active member
#4
need this but to difficult for a non programmer like me. searched for it but it seems there's no add on to make this possible.
 

SchmitzIT

Well-known member
#5
need this but to difficult for a non programmer like me. searched for it but it seems there's no add on to make this possible.
It's impossible to do this as an add-on. Some of the work would include customizing add-on files to ensure they get the hook to add the icon, and seeing we'd never be able to know in advance which files you're using, it would be pretty tough to handle, or we'd have to add files for almost every add-on using this.

Which part of the instructions are you having issues with, specifically?