Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
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' ); ?>
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(); ?>
Hi, this code has nothing wrong if it works for you on desktop.
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
2 posts Page 1 of 1