Getting autonav to work with bootstrap dropdown (the dropdown itself)

Permalink
Hey I've gotten C5.7 to play nice with bootstrap navbar, but for some reason I'm seemingly unable to get the drop down functionality to work correctly. Instead the link that should have a drop down is only pointing to "#" and won't drop down.

Here's the code I'm working from

header.php
<!DOCTYPE html>
<html lang="en">
  <head>
    <!-- STYLESHEETS -->
    <link rel="stylesheet" href="<?php echo $view->getThemePath()?>/css/style.css">
    <link rel="stylesheet" href="<?php echo $view->getThemePath()?>/css/bootstrap.min.css">    
    <link rel="stylesheet" href="<?php echo $view->getThemePath()?>/css/preloader.css">
    <link rel="stylesheet" href="<?php echo $view->getThemePath()?>/css/responsive.css">
    <link rel="stylesheet" href="<?php echo $view->getThemePath()?>/css/animate.css">
    <?php Loader::element('header_required');?>
    <style>
    #galleria{height:480px; width:800px; margin-left:auto; margin-right:auto;}
    </style>
    <!-- load jQuery -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>


here's application/blocks/autonav/templates/ModernNav.php
ModernNav.php
<?php
//NOTE: For extra functionality, you can add the following page attributes (via Dashboard -> Pages and Themes -> Attributes):
//
// 1) Handle: replace_link_with_first_in_nav
//    Type: Checkbox
//    Functionality: If a page has this checked, clicking on it in the nav menu will go to its first child (sub-page) instead.
//
// 2) Handle: exclude_subpages_from_nav
//    Type: Checkbox
//    Functionality: If a page has this checked, all of that pages children (sub-pages) will be excluded from the nav menu (but the page itself will be included).
//
// 3) Handle: disable_link_in_nav
//    Type: Checkbox
//    Functionality: If a page has this checked, it will appear in the nav menu but will not be "clickable" (will not link to any page).
//


and lastly here's
/application/blocks/autonav/templates/view.php
<?php
//NOTE: For extra functionality, you can add the following page attributes (via Dashboard -> Pages and Themes -> Attributes):
//
// 1) Handle: replace_link_with_first_in_nav
//    Type: Checkbox
//    Functionality: If a page has this checked, clicking on it in the nav menu will go to its first child (sub-page) instead.
//
// 2) Handle: exclude_subpages_from_nav
//    Type: Checkbox
//    Functionality: If a page has this checked, all of that pages children (sub-pages) will be excluded from the nav menu (but the page itself will be included).
//
// 3) Handle: disable_link_in_nav
//    Type: Checkbox
//    Functionality: If a page has this checked, it will appear in the nav menu but will not be "clickable" (will not link to any page).
//


Thank you too anyone that's read this far and has some ideas, really scratching my head on this.

View Replies: