Project / Support Center
Welcome, %1$s. Please login or register. February 28, 2024, 10:50: AM
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  Open Source Topics  |  SMF related  |  : Adding menus SMF 2.x 0 and 1 Guest are viewing this topic. « previous next »
: [1]
: Adding menus SMF 2.x  ( 14231 )
admin
« : December 31, 2009, 01:22: AM »

In Sources/Subs.php

FIND around line 3716:
Code: [Select]
      $buttons = array(
         'home' => array(

ADD BETWEEN the upper two lines:
Code: [Select]
         'sitehome' => array(
            'title' => 'Home Page',
            'href' => 'http://home.info',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),

So it now Looks Like This:

Code: [Select]
      $buttons = array(
         'homepage' => array(
            'title' => 'Home Page',
            'href' => 'http://home.info',
            'show' => true,
            'sub_buttons' => array(
            ),
         ),
         'home' => array(

This will add the Menu Tab "Home Page" to the Left. But with practice you can place a menu where you want it.
« : December 31, 2009, 12:19: PM Web Global Net »  
: [1]  
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  Open Source Topics  |  SMF related  |  : Adding menus SMF 2.x « previous next »
:  


Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!
Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.