How to Add links Menu Tab to Simple Machines Forum (SMF) Full site

Oscarmini – Quality Tech & Info Arena Forums Programming, SEO, Web Design & Blogging Blogging and Webmasters How to Add links Menu Tab to Simple Machines Forum (SMF) Full site

This topic contains 2 replies, has 2 voices, and was last updated by  Oscar Frank 6 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5063

    Oscar Frank
    Keymaster

    If you are new to simple machines forum, or you recently installed the forum software on your server, you might have tried to link tabs to external links in the menu tab where the HOME, SEARCH, HELP, are found. Here is a simple way to do this.Log into the Cpanel of your hosting account. Open your File Manager and Locate the Sources folder, then on and download a copy of the Subs.php.Edit the Subs.php and search for

    Code:
    'home' => array( 'title' => $txt['home'],

    Now something like this would appear.

    Code:
    'home' => array( 'title' => $txt['home'], 'href' => $scripturl, 'show' => true, 'sub_buttons' => array( ), 'is_last' => $context['right_to_left'], ),

    Let's say you want to link to a blog with anchor text as Blog and link as http://www.oscarmini.com, just below the above code, place this code.

    Code:
    'blog' => array( 'title' => 'Blog', 'href' => 'http://www.oscarmini.com', 'show' => true, 'sub_buttons' => array( ), ),

    Now save your Subs.php, upload it to your Public_html/Sources and make sure you tick overrite so as to replace the original.Everything can be seen practically on my web forum at ?nowap”>Best Tech Forum In Nigeria

    #7850

    Smart Boy
    Moderator

    Thanks man

    #7851

    Oscar Frank
    Keymaster

    This Great. 😀


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

21,223FansLike
2,144FollowersFollow
707FollowersFollow
932SubscribersSubscribe

Recent Posts