MyBB Community Forums

Full Version: Problems with toplinks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey my top links are troubled, Im adding a new toplink for donating, but Im having problems, When I try and change the name for the link it shows as this....[Image: 67jfcn.jpg] Theres no text, heres my header code........

Quote:<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.png" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.png" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.png" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.png" alt="" title="" />{$lang->toplinks_help}</a></li>
<li><a href="{$mybb->settings['bburl']}/donate.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/donate.png" alt="" title="" />{$lang->toplinks_donate}</a></li>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>

What am i doing wrong????
Please make sure that you have this code in your global.lang.php file, located in your inc/languages/your_language/ folder:
$l['toplinks_donate'] = "Link title here";
Thanks man, IT WORKED!!

+Rep 4 u
(2011-08-31, 08:40 PM)RateU Wrote: [ -> ]Please make sure that you have this code in your global.lang.php file, located in your inc/languages/your_language/ folder:
$l['toplinks_donate'] = "Link title here";

When he do changes to language files, he have to use patches plugin to save changes during future upgrades or remember and do them manually.

A better way would be to use the link title text instead of {$lang->toplinks_donate} in header templates.
(2011-09-01, 02:15 AM)kavin Wrote: [ -> ]
(2011-08-31, 08:40 PM)RateU Wrote: [ -> ]Please make sure that you have this code in your global.lang.php file, located in your inc/languages/your_language/ folder:
$l['toplinks_donate'] = "Link title here";

When he do changes to language files, he have to use patches plugin to save changes during future upgrades or remember and do them manually.

A better way would be to use the link title text instead of {$lang->toplinks_donate} in header templates.

LOL Toungue