I set the include on the video to :
it removed the above error, but the navigation that should be printing is completely blank. Here is the php for the navigation I am attempting to include:
- Code: Select all
<cms:php> include('header.php'); </cms:php>
it removed the above error, but the navigation that should be printing is completely blank. Here is the php for the navigation I am attempting to include:
- Code: Select all
<div class="container">
<h1 class="logo">
<a href="/">
<img alt="" src="/img/logo.png">
</a>
</h1>
<button class="btn btn-responsive-nav btn-inverse" data-toggle="collapse" data-target=".nav-main-collapse">
<i class="icon icon-bars"></i>
</button>
</div>
<div class="navbar-collapse nav-main-collapse collapse">
<div class="container">
<div class="social-icons">
<ul class="social-icons">
<li class="facebook"><a href="<cms:get_custom_field 'facebook' masterpage='global.php'/>" target="_blank" title="Facebook">Facebook</a></li>
<li class="twitter"><a href="<cms:get_custom_field 'twitter' masterpage='global.php'/>" target="_blank" title="Twitter">Twitter</a></li>
</ul>
</div>
<nav class="nav-main mega-menu">
<ul class="nav nav-pills nav-main" id="mainMenu">
<li <?php if($_SERVER['REQUEST_URI'] == '/index.php' || $_SERVER['REQUEST_URI'] == '/') { echo "class=\"active\""; } ?>>
<a href="/" >Home</a>
</li>
<li <?php if(strstr($_SERVER['REQUEST_URI'], '/about')) { echo "class=\"active\""; } ?>>
<a href="/about.php">About Us</a>
</li>
<li class="dropdown <?php if(strstr($_SERVER['REQUEST_URI'], '/resources')) { echo "active"; } ?>">
<a class="dropdown-toggle" href="#">
Education Center
<i class="icon icon-angle-down"></i>
</a>
<ul class="dropdown-menu">
<li><a href="/resources/videos.php">Videos</a></li>
<li><a href="/resources/photos.php">Photo Gallery</a></li>
<li><a href="/resources/downloads.php">Free Downloads</a></li>
<li><a href="/faq.php">FAQ's</a></li>
</ul>
</li>
<?php /* <li <?php if(strstr($_SERVER['REQUEST_URI'], '/testimonials')) { echo "class=\"active\""; } ?>>
<a href="/testimonials.php">Testimonials</a>
</li> */ ?>
<li <?php if(strstr($_SERVER['REQUEST_URI'], '/ask-a-dr')) { echo "class=\"active\""; } ?>>
<a href="/ask-a-dr.php">Ask a Dr.</a>
</li>
<li <?php if(strstr($_SERVER['REQUEST_URI'], '/contact')) { echo "class=\"active\""; } ?>>
<a href="/contact.php">Contact</a>
</li>
</ul>
</nav>
</div>
</div>