Menu manager is a new way to arrange your site's navigation. It is built to be functional, simple, efficient and beautiful all at once.

Menu Manager Screenshot

Author - Sunny Web - MyPaaji.com Works In - mRova Contact Me

— Table of Contents

1. Adding Menu Control Panel

Menu manager uses filesystem for storing data please change permission of folder db to 0777.

For adding menu manager control panel you need to add following files:

                    <script type="text/javascript" src="lib/jquery/jquery-1.3.2.js"></script>
                    <script type="text/javascript" src="lib/custom.js"></script>
                    <link rel="stylesheet" href="css/menumanager.css" type="text/css"/>

                

Include class.menuManager.php and create an object of it.

<?php
include 'class.menuManager.php';
$mm = new menuManager();
?>
                
Call renderManager() function to render the menu control panel.
                <?php
                $mm -> renderManager();
                ?>
                

2. Change Language

Menu manager comes with two language pack - English(Default) and Hindi. You can find language files in language folder. By default there are two files of name lang.en.php(english) and lang.hi.php(hindi).

For rendering menu control panel in hind you need to set language parameter to hindi like as following code:

                             $mm -> language = 'hi';
                             $mm -> renderManager();
                
Hindi Language

3. Render Menu

include 'class.menuManager.php';
$mm = new menuManager();
echo '<ul>';
$mm -> renderMenu();
echo '</ul>';
                

— Output


                

— More Options

parentTemplate - Sets template for root menu items

  $mm -> parentTemplate = '<a title="{desc}" href="{link}">{name}{desc}</a>';
  $mm -> renderMenu();
                

Output


                

childTemplate - Sets template for all child menu items

  $mm -> parentTemplate = '<a title="{desc}" href="{link}">{name}{desc}</a>';
  $mm -> childTemplate = '<a title="{desc}" href="{link}">{name}{desc}</a>';
  $mm -> renderMenu();
                

Output


                

currentClassLi - Sets class of given menu name to current

  $mm -> currentClassLi = 'First';
  $mm -> parentTemplate = '<a title="{desc}" href="{link}">{name}{desc}</a>';
  $mm -> childTemplate = '<a title="{desc}" href="{link}">{name}{desc}</a>';
  $mm -> renderMenu();
                

Output


                

4. Examples

— Simple

Please find files required for this menu in folder "examples/simple"
        
    <?php $mm -> renderMenu(); ?>

— Parent Description

Please find files required for this menu in folder "examples/Parent Description"
        
    <?php $mm -> currentClassLi = 'First'; $mm -> parentTemplate = '<a href="{link}" title="{desc}">{name}{desc}</a>'; $mm -> renderMenu(); ?>

— Suckerfish Navbar

Please find files required for this menu in folder "examples/Suckerfish Navbar"
       <ul class="sf-menu sf-navbar">
            <?php
                $mm -> parentTemplate = '<a href="{link}" title="{desc}">{name}</a>';
                $mm -> renderMenu();
            ?>
       </ul>
                

— Suckerfish Vertical

Please find files required for this menu in folder "examples/Suckerfish Vertical"
        <ul class="sf-menu sf-vertical">
            <?php
                $mm -> parentTemplate = '<a href="{link}" title="{desc}">{name}</a>';
                $mm -> renderMenu();
            ?>
        </ul>
                
 

5. Commercial licenses

This Menu Manager is released under the GNU GENERAL PUBLIC LICENSE (GPL), so you can use it freely for all projects. However, you will have to comply with the GPL, especially the obligation to license your code using the class under the GPL. So if you want to use the class in a non-GPL project, you will have to get a commercial license.

The commercial license per domain grants you the non-exclusive right to use the Menu Manager (and its subsequent releases), for an unlimited period of time, on one or several domains.

The commercial redistribution license grants you the non-exclusive right to redistribute the Menu Manager (and its subsequent releases) in a non-GPL product.


— Commercial license for one domain: $15

You can order a commercial license for one domain on this site, via Paypal, for a cost of $15.


— Commercial license for several domains

The princing structure for the multi-domain license is as following:


— Commercial redistribution license

Please contact me if you want to redistribute the class in non-GPL products.


— Invoices

Please email me if you require an invoice.


— Commercial licenses details

The commercial license per domain grants you the non-exclusive right to use the Menu Manager (and its subsequent releases), for an unlimited period of time, on one or several domains. By domain, it is meant an internet domain name, such as domain.tld. The right of use granted to the licensee doesn't include any distribution, redistribution or sub-licensing right. The right is granted per licensee, for a number (one or more) of domains.

The commercial redistribution license grants you the non-exclusive right to redistribute the Menu Manager (and its subsequent releases) in a non-GPL product.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

6. Download

menuManager.zip