Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2005
    Posts
    521

    Need php navigation menu

    I need a php a menu system, text based, no db.

    I like this one:

    http://www.phpf1.com/product/php-navigation-script.html

    but it only has two levels. I've looked everywhere! I would like another level.

    Any ideas?

  2. #2
    Join Date
    Jan 2007
    Location
    /dev/null
    Posts
    3,696
    PHP is the only option for you?

  3. #3
    How about PHP Layers Menu? The library there has quite a bit of different functionality available and I think their Tree Menus would do what you're looking to do. Optional javascript and database support, but otherwise fully functional from text files.
    BMG Servers - Xen VPS / Dedicated / Colocation / Backup / Design
    Byte Me Gaming - Game Servers / Voice Servers / Community

  4. #4
    Quote Originally Posted by crazylane View Post
    I need a php a menu system, text based, no db.

    I like this one:

    http://www.phpf1.com/product/php-navigation-script.html

    but it only has two levels. I've looked everywhere! I would like another level.

    Any ideas?
    if you want to add the main menu then

    edit the file 'maxNavigation.class.php' and

    add this line in the main menu section

    PHP Code:
    $mainMenu['services']  = 'services.php'
    This will add the main menu 'services'

    if you want to add the sub menu for 'services' then add this line

    add this line in the sub menu section

    PHP Code:

    $subMenu
    ['services']['service-1']   = 'service1.php';

    $subMenu['services']['service-2']   = 'service2.php';

    $subMenu['services']['service-3']   = 'service3.php';

    $subMenu['services']['service-4']   = 'service4.php'
    You can add more sub menus using this

    make sure that the files 'services.php','service1.php','service2.php','service3.php','service4.php' using the same template

    hope this helps you

    Ezeelogin - The ultimate multiple server administration software.
    * Parallel shell * rm -rf protection * SSH logging * automated password changes * encrypted storage *
    AdMod.com - Delivering innovative web hosting solutions

  5. #5
    Join Date
    Aug 2005
    Posts
    521
    I modded a category function(mysql) that I already had. The navigation uses a text file as such:

    1,0,Home,index.html
    2,0,Services,services.html
    3,2,Hosting,hosting.html
    4,2,Design,design.html
    5,0,About Us,about.html
    6,0,Contact Us,contact.html

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •