Help me please... I need to ad a button to my menu!

Started by Zeke, May 11, 2004, 10:00:16 PM

Previous topic - Next topic

Zeke

 Hey, I need a bit of help. I need to ad a button that gose back to the WEBSITE for the forums but I want it to go nexted to the home button. How do I et it there?

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Zeke

Tryed that Owdy and this is what I get...

Top of Page at the forums:


Notice: Undefined offset: 801 in /home/virtual/site7/fst/var/www/html/AIF/Themes/classic/index.template.php on line 266


and this is what I added.

echo '

<a href="http://animeinvasion.dbgtn.com">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/Themes/classic/images/english/site.gif" alt="Website' . $txt[801] . '" border="0" />' : $txt[801]), '</a>', $context['menu_separator'];


right about

echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];


So whats wrong?

[Unknown]

You didn't add the string he referenced to the language files.  Even if you want it to be something other than gallery, you DO have to add the string.

-[Unknown]

Advertisement: