Multi Level Responsive menu for autonav

Permalink
I have cheeky request.

Can anyone share their code for a multi level responsive menu that works well with the autoNav block?

I've googled a number of snippets but they rely on a class for the secondary level.

Thanks

trixiemay
View Replies:
Pluto replied on at Permalink Reply
Pluto
Add this code in your active theme header

<?php
$bt_main = BlockType::getByHandle('autonav');
$bt_main->controller->displayPages = 'top';
$bt_main->controller->orderBy = 'display_asc';
$bt_main->controller->displaySubPages = 'all';
$bt_main->controller->displaySubPageLevels = 'custom';
$bt_main->controller->displaySubPageLevelsNum = '2';
$bt_main->render('templates/view');
?>

Now go to yoursite/concrete/blocks/autonav copy the view.php file and paste it in yoursite/blocks/autonav folder.

Now you can customise the navigation menu in yoursite/blocks/autonav/view.php file.
You can usehttp://adnantopal.github.io/slimmenu/... for responsive menu design. You will have to include the javascript and css file in your active theme header file.
Pluto replied on at Permalink Reply
Pluto
If you want further help give me the ftp.
nesoor replied on at Permalink Reply
nesoor
Hey Pluto,

This menu is easy to install and works great.
Thanks a lot!!!