Thanx a lot!

This is how I used it successfully with cakePHP 1.2:

1. Downloaded http://cakeforge.org/snippet/download.php?type=snippet&id=361
into /app/views/helpers/menu.php
2. Added
    var $helpers = array('Menu');
to class AppController
in /app/app_controller.php
3. Added
    <?php
    $navi = array('Home' => '/home', 'User' => '/users', 'Profiles' =>
'/profiles');
    echo $menu->menu($navi, 'li', 'current');
    ?>
in the file /app/views/layouts/default.ctp
where I want the navigation to show up.

This will produce a navigation/menu which shows up on every(!) page.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to