Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Editing the Home Button

Aloittaja enaille, maaliskuu 16, 2005, 11:06:05 IP

« edellinen - seuraava »

enaille

OK I searched for a while and the dog couldn't find anything.

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

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

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.

[Unknown]

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]

enaille

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?

Oldiesmann

template_menu() is a function at the bottom of index.template.php
Michael Eshom
Christian Metal Fans

Advertisement: