Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: enaille - maaliskuu 16, 2005, 11:06:05 IP

Otsikko: Editing the Home Button
Kirjoitti: enaille - maaliskuu 16, 2005, 11:06:05 IP
OK I searched for a while and the dog couldn't find anything.

My forum sits inside my site ... http://mysite.com/SMF/

I would like the home button in the forum to direct to http://mysite.com/ and not to http://mysite.com/SMF/

What file has the menu buttons in it?  I've added buttons in the template file, but did not see anything for the default buttons.  Can I accomplish this without adding another button?

Any and all help would be greatly appreciated.
Otsikko: Re: Editing the Home Button
Kirjoitti: [Unknown] - maaliskuu 17, 2005, 01:16:48 AP
http://www.simplemachines.org/community/index.php?topic=22727.0 (it's the same as adding a button, just act like you're adding a new one and removing the existing home button.)

-[Unknown]
Otsikko: Re: Editing the Home Button
Kirjoitti: enaille - maaliskuu 17, 2005, 08:56:09 AP
So your saying I have to remove home, help, search,profile, and so on...  and then hard code them in the template?

      // Show the menu here, according to the menu sub template.
      template_menu();

When this script is called, where is the menu sub template located?  Can't I just modify what the definition of "home" is?
Otsikko: Re: Editing the Home Button
Kirjoitti: Oldiesmann - maaliskuu 17, 2005, 11:47:58 AP
template_menu() is a function at the bottom of index.template.php