News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

How do you instal/remove/change buttons?

Started by deathwantsme, October 24, 2005, 02:21:54 AM

Previous topic - Next topic

J. Williams

Try this for adding buttons

Adding Buttons

Removing is easy,for example;you don't want the search button remove this code(Remove all up to the next//)

Quote// How about the [search] button?
   if ($context['allow_search'])
      echo '
            <a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];


Changing buttons i think is just overwrite an image with your own
Joshua Jon Williams
Back in Action.

Advertisement: