Bootstrap double menu and Navigation
PermalinkI am using the bootstrap theme from the market place
http://www.concrete5.org/marketplace/themes/bootstrap/...
but am getting a double menu and logo showing.
http://46.20.119.159/~tmdesign/testmeasurit/...
the second logo and nav don't show when you are logged into the site but I just can't work out where is is pulling from.
Can anyone help?
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); /** * @ concrete5 package Bootstrap * @copyright Copyright (c) 2012 Hostco. (http://www.hostco.com) http://www.concrete5.org/marketplace/themes/bootstrap/license/... */ $html = Loader::helper('html'); $c = Page::getCurrentPage(); $up = new Permissions(Page::getCurrentPage()); $bootstrap_config_arr=$_SESSION['bootstrap_config_arr']; $version_inc='spacelab'; if($bootstrap_config_arr['cdn_enable']=='0' || $bootstrap_config_arr['cdn_enable']==0 || $bootstrap_config_arr['cdn_enable']==null){ $dir_rel=DIR_REL; $dir_rel=rtrim($dir_rel,'/');
this is hte page type
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); /** * @ concrete5 package Bootstrap * @copyright Copyright (c) 2012 Hostco. (http://www.hostco.com) http://www.concrete5.org/marketplace/themes/bootstrap/license/... */ //load bootstrap theme config arr and get global $bootstrap_config_arr $bootstrap_config_arr=$_SESSION['bootstrap_config_arr']; $version_inc='spacelab'; ?> </head> <body> <?php $this->inc('inc/'.$version_inc.'/elements/navbar.php');
<?php $this->inc('inc/'.$version_inc.'/elements/navbar.php'); $a = new Area('Header Image'); $c = Page::getCurrentPage(); if (($a->getTotalBlocksInArea($c) > 0) || ($c->isEditMode()) ) { ?> <div class="jumbotron masthead"> <div class="container"> <?php $a->display($c); ?> </div> </div> <?php }?>
That might be too much to remove and take away other things too, but I think we are on the right track. Something in there is outputting the content that you don't want to see.
Also, I'm assuming you've cleared the site cache?
If when you delete the above code, both the nav bar you like and nav bar you don't like dissapear, try just removing lines 41-55 and just in case the line numbers are off, I mean this code:
<div class="jumbotron masthead"> <div class="container"> <?php $a->display($c); ?> </div> </div>
You should post the code for your header.php and page type (like default.php) or whatever you are using there. If the second nav is not content entered into a block, It's got to be coming from somewhere in header.php or default.php, right?
Hope this gets you on the road to a solution...