Export Option for PHP-Include

Let us know what you would like to see in the next version of Easy Button & Menu Maker
Post Reply
meRalle
Posts: 2
Joined: Thu Feb 13, 2020 8:53 am

Export Option for PHP-Include

Post by meRalle »

I'm primary working with PHP and Javascript to for Dynamic and Interaction.

Thatfor I'm preparing each Export-Results to get a file named e.g. "menu-top.html" reducing html/body-Code to get:

Code: Select all

<div id="mbmcpebul_wrapper">
   ### menu-code here ###
</div>
In e.g. "index.html" the include

Code: Select all

<?php include 'menu_top.html';?>
will include the complete menu, without Menu Maker touching the original "index.php".

Partly i go one step further adding an Logo in Front of the Menu:

Code: Select all

<div id="mbmcpebul_wrapper">
    <img src="images/mylogo" height="38" style="border: 0; margin: 0px 15px ; float: left; vertical-align: middle" alt="">
    <?php include 'menu_top.html';?>
</div>
and the "menu-top.html" file to include is reduced to

Code: Select all

<ul id="mbmcpebul_table" class="mbmcpebul_menulist css_menu">
   ###- menu-code here ###
</ul>
I would like the Option, to define which part of the menu is saved to the exported file, so it can be included without manual modifications or additional javascript-code to import only the menu, not html/body.

The Option to include the code in existing files is thatfor not satisfying.

Hope this will find a way into a the next version, as it is easy to be established.

meRalle
dejawitting
Posts: 1
Joined: Thu Nov 02, 2023 5:06 am

Re: Export Option for PHP-Include

Post by dejawitting »

Verify that Easy CSS is supported and that your web browser is up to date. For information about supported browsers, see their documentation.
Post Reply