News:

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

Main Menu

Adding a home button

Started by munzarelli, May 17, 2012, 03:24:10 PM

Previous topic - Next topic

munzarelli

I need to add a link to the forum that will bring users back to my site.  I've found directions on it, but am not able to put them to use for these two reasons:

1) They say to edit this file "/Sources/Subs.php".  However, I don't see any file named Subs.php in the Sources folder

2) They say to edit this file "index.template.php".  However, despite the fact that I've found 2 versions of this file I can't find this line of code that they say to edit:
if ($context['current_action'] == 'search2')
      $current_action = 'search';

Any help would be greatly appreciated.

emanuele

Hello munzarelli and welcome to sm.org!

First question: what version of SMF are you using?
If your forum works then you must have a file named Subs.php in Sources. ;)


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

munzarelli

I'm using SMF 2.0.2.  Also you can see in the image I attached, that file is not there.

Thanks,

emanuele

If you look at the top right side of the page you see that you have other 5 pages of files. ;)


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Matthew K.

No need to modify any files. Just install Customizable Home Button.

munzarelli

Wow!  I can't even believe that I didn't see that.  It must have just been a long day.

Thanks Emanuele!

Advertisement: