Does anyone know how to put the site menu system into a separate file that the customer can edit in CouchCMS
I have put the menu system in a separate file Menu.php
And I am using JQuery to load the data from that file
All works great on full screen - menu appears!
But on mobile screen menu is not loaded??
I have included the separate menu file
I am doing something wrong, Please help!
Menu.php is below
<?php require_once( 'INBAFAdmin/cms.php' ); ?>
I have put the menu system in a separate file Menu.php
And I am using JQuery to load the data from that file
All works great on full screen - menu appears!
But on mobile screen menu is not loaded??
I have included the separate menu file
I am doing something wrong, Please help!
Menu.php is below
<?php require_once( 'INBAFAdmin/cms.php' ); ?>
- Code: Select all
<cms:template title='Menu' />
<div class="menu" id="navigation">
<cms:editable name='INBAF_Menu' type='richtext'>
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="FoundingMembers.php">About Us</a></li>
<li><a href="Resources.php">UEB Resources</a></li>
<li><a href="News.php">News</a></li>
<li><a href="Updated.php">UIB Updates</a></li>
<li><a href="FAQ.php">FAQ</a></li>
<li><a href="ContactUs.php">Contact</a></li>
</ul>
</cms:editable>
</div>
<?php COUCH::invoke(); ?>