MyBB Community Forums

Full Version: Tabs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well i want to add new tabs in the top of my theme.

My code

<td class="welcome"><a href="{$mybb->settings['bburl']}/shops.php">{$lang->toplinks_shops}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/usercp.php">{$lang->welcome_usercp}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></td>
<td class="welcome"><a href="search.php?action=getnew">{$lang->welcome_newposts}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></td>
<td class="welcome"><a href="$settings[bburl]/search.php">{$lang->toplinks_search}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a></td>


Location : Edit Template: header_welcomeblock_member

Nothing comes up, it just moved my usercp a little to the right

Picture

http://i39.tinypic.com/2cfqyo4.png

Picture to long
How exactly do you want it to show....??
{$lang->toplinks_shops} = new entry in your language files, did you created this line?? You can just put Shops replacing it and it will work
I see, you could have been a bit more specific with the problem...

{$lang->toplinks_shops} is a PHP language variable and chances are you haven't added a new line to the language file. As aglioeolio correctly said you can just put 'Shops' there and it will show that.
I don't get you?

like this?

<td class="welcome"><a href="{$mybb->settings['bburl']}/shops.php"></td>
Nvm i got it.
No remove {$lang->toplinks_shops} and change it to 'Shops', is that what you did??