SMF Support > SMF 2.0.x Support

NavBar, added custom "button" no text

(1/1)

Dr. Bunsen:
Hi,

So I added 2 "buttons" to the navbar, but when I load the page, they arent there, atleast, the text isnt, if you hover between home and help, you will see that they are there(evolutionofcraft.tk) but there is no text?
What I did was, find where the buttons are in the Subs.php, and add my own:


I searched for this, but nothing came up, thanks in advance,

Dr. Bunsen

edit: The log shows errors on the title lines, what's is wrong with it?

ps hate the Vertification, it took me 12 minutes to verify(edit, so make that 24 minutes)

Storman™:
You also need to add some lines to index.english.php which is in the languages folder of the default theme.

Something like:


--- Code: ---$txt['Dynmap'] = 'Dynmap';
$txt['Teamspeak'] = 'Teamspeak';
--- End code ---

Dr. Bunsen:
thank you good sir, worked like a charm, thanks ;)

Navigation

[0] Message Index

Go to full version