News:

Follow us on Bluesky!

Main Menu

home url

Started by Ishmell, January 30, 2009, 01:57:27 PM

Previous topic - Next topic

Ishmell

Hello, how would I make the home in the menu instead of going to the forums index go to an url i want (the main site)?

shadow82x

#1
In FTP ../Sources/Subs.php

Find
         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
         ),


Change to
         'home' => array(
            'title' => $txt['home'],
            'href' => 'http://yourlinkhere.com',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),


Make sure you have a backup of subs.php before you do any edits.

And of course remember to change "http://yourlinkhere.com" to your desired link. ;)


Edit: Forgot this was the SMF2 board. :P
Colin B
Former Spammer, Customize, & Support Team Member

Ishmell

Thats awesome. Thanks allot...  :D

Advertisement: