joomla-master-bootstrap icon indicating copy to clipboard operation
joomla-master-bootstrap copied to clipboard

Navigation Issue

Open fusioncowork opened this issue 11 years ago • 5 comments

Just installed Joomla Master Bootstrap on a fresh Joomla! 2.5 install (http://goo.gl/ZOHa6d) but it seems that on responsive layouts the menu just doesn't work.

fusioncowork avatar Oct 26 '13 08:10 fusioncowork

Hi, you have a url for this issue?

gsuez avatar Nov 29 '13 21:11 gsuez

Thanks again, and hope this info helps!

His URL is in his comment (http://goo.gl/ZOHa6d)

I'm currently testing on: http://goo.gl/o2iKsq

I noticed a few things in index.php too - the version currently on GitHub, Feb. 14, 2014, both in the individual files and also in the .ZIP package

*** missing closing ">" symbol: <meta name="viewport" content="width=device-width, initial-scale=1.0"

*** two broken/orphan </div> segments at bottom before <jdoc:include type="modules" name="debug" />

***The last four </div> segments in navigation are not within their matching parent IF statement (the first IF). The second IF segment should be nested within the first, with the closing 4 </div> sections contained within the first IF. What happens, is if the first IF condition is not met, then there are 4 broken/orphan closing </div> navigation segments that are sent to the browser.

I've corrected an example sort of like this here:

<!--Navigation-->
<?php if($this->countModules('navigation')) : ?>
<div id="navigation">
  <div class="container-fluid">
    <div class="navbar">
    <div class="navbar-inner">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> 
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        </a>
        <?php if($this->countModules('navigation')) : ?>
        <div class="nav-collapse">
             <jdoc:include type="modules" name="navigation" style="none" />
        </div><!-- .nav-collapse -->
        <?php endif; ?>
    </div><!-- .navbar-inner -->
    </div><!-- .navbar -->
  </div><!-- .container-fluid -->
</div><!-- #navigation -->
<?php endif; ?>

Thanks again, and hope this info helps!

BeforeLogic avatar Feb 14 '14 19:02 BeforeLogic

Thank you so much BeforeLogic!

gsuez avatar Feb 26 '14 16:02 gsuez

Also this line: fullwidth is missing from templateDetails.xml

wds4 avatar Mar 12 '15 20:03 wds4