10 years 6 months ago
No. This file don't have that code in it.
This is what i have in /templates/newlifestyle/tpls/blocks/nav.php
defined('_JEXEC') or die;
$menualign = $this->params->get('menualign', 'zenleft');
$navwidth = "12";
$navwidth = $this->params->get('menuwidth');
$logotext = $this->params->get('logotext');
$logoclass = $this->params->get('logoclass', 'h2');
$tagline_enabled = $this->params->get('tagline_enabled');
$tagline = $this->params->get('tagline');
$logotype = $this->params->get('jblogotype', 'text');
$logoalign= $this->params->get('logoalign', 'zenleft');
$logoimage = $this->params->get('jblogoimage', '');
$tagline_enable = $this->params->get('tagline_enabled');
$logowidth = $this->params->get('logowidth');
$mobiletype = "";
if($this->getParam('navigation_collapse_offcanvas')) {
$mobiletype = "offcanvas";
}
else {
$mobiletype = "togglemenu";
}
?>
<!-- MAIN NAVIGATION -->
<?php if($this->params->get('stickynav')) { ?>
<nav id="navwrap" class="<?php echo $mobiletype; ?>" data-uk-sticky>
<?php } else { ?>
<nav id="navwrap" class="<?php echo $mobiletype; ?>">
<?php } ?>
<div class="zen-container">
<div class="row-fluid">
<div class="span<?php echo $logowidth; ?>">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-list-ul"></span>
</button>
<div class="logo logo-<?php echo $logotype ?> <?php echo $logoalign ?>">
<<?php echo $logoclass ?>>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo $logotext ?>">
<span>
<?php if($logotype == "image" || $logotype =="both") { ?>
<?php if($logoimage !=="") { ?><img src="<?php echo $logoimage ?>"/><?php } ?>
<?php } ?>
<?php if($logotype == "text" || $logotype =="both") { ?>
<?php echo $logotext; ?>
<?php } ?>
</span>
</a>
</<?php echo $logoclass ?>>
<?php if($tagline_enabled) {?>
<div id="tagline"><span><?php echo $tagline ?></span></div>
<?php } ?>
</div>
</div>
<?php if ($this->countModules('cart') || $this->countModules('search')) : ?>
<div id="toolwrap">
<div id="toolwrap-inner">
<?php if ($this->countModules('cart')) : ?>
<!-- Above Content -->
<div id="cart-trigger">
<a href="#"><span class="icon-shopping-cart"></span></a>
</div>
<?php endif ?>
<?php if ($this->countModules('search')) : ?>
<!-- Above Content -->
<div id="search-trigger">
<a href="#"><span class="icon-search"></span></a>
</div>
<?php endif ?>
</div>
</div>
<?php endif ?>
<div class="navwrapper navbar <?php echo $menualign ?> span<?php echo $navwidth; ?> <?php if ($this->countModules('cart') || $this->countModules('search')) : ?>tool-padding<?php endif; ?>">
<div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?> <?php echo $menualign; ?>">
<?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
<?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
<?php else : ?>
<jdoc:include type="modules" name="<?php $this->_p('menu') ?>" style="raw" />
<?php endif ?>
</div>
<?php if ($this->countModules('search')) : ?>
<div id="search-nav" style="display:none">
<jdoc:include type="modules" name="search" style="raw" />
</div>
<!-- //Above Content -->
<?php endif ?>
<?php if ($this->countModules('cart')) : ?>
<div id="cart-nav" style="display:none">
<jdoc:include type="modules" name="cart" style="xhtml" />
</div>
<!-- //Above Content -->
<?php endif ?>
<?php if ($this->checkSpotlight('panel', 'panel1, panel2, panel3, panel4')) : ?>
<div id="panel">
<div class="zen-container">
<?php
$this->spotlight ('panel', 'panel1, panel2, panel3, panel4')
?>
</div>
</div>
<?php endif;?>
</div>
</div>
</div>
</nav>
<!-- //MAIN NAVIGATION -->