Customizing SMF > SMF Coding Discussion

Adding a home button

(1/2) > >>

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. ;)

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. ;)

Labradoodle-360:
No need to modify any files. Just install Customizable Home Button.

Navigation

[0] Message Index

[#] Next page

Go to full version