I Love PHPMaker

... because it gets even more powerful and flexible!!

  • About
  • Terms and Conditions
  • Membership Options
  • Sitemap
  • Downloads
    • PHPMaker Extensions Download
    • PHPMaker Projects Download
    • PHP Report Maker Extensions Download
I Love PHPMaker » Tips and Trick » How to Remove Menu in Websites that Generated by PHPMaker 9.1.0
A Case Study: Adding Prev Next Navigation Links in the Master/Details Page of Websites that Generated by PHPMaker 9.1.0
A Case Study: Creating Provinces, Cities, Subdistricts Dynamic Selection in Websites that Generated by PHPMaker 9.1.0

January 31, 2013

How to Remove Menu in Websites that Generated by PHPMaker 9.1.0

Sometimes, you want to hide all the menu items for all pages in your web applications that generated by PHPMaker. You can do this easily and quickly in PHPMaker by using jQuery. This trick will let you know how you can remove the menu section in your web application that generated by PHPMaker without having to customize the generated files. All you have to do is by writing only two lines of jQuery code from Client Scripts section of PHPMaker, afterwards just generate your script files.

Updated on February 10, 2013: This customization has been implemented in PHPMaker version 9.2.0, it matches to each other, and as a result, it works properly.

To add the related code, just follow these steps:

  1. Open your PHPMaker project (.pmp) file using PHPMaker
  2. In order to use the local jQuery file instead of the live one (I always strongly recommend it for you), then make sure you have given a checked mark at Local YUI/jQuery files from Tools -> Advanced Settings menu of PHPMaker.
  3. Now let's go to the code part. Click on one of your tables from the Database (left) pane in order to display the Client Scripts section.
  4. Click on Code (Server Events, Client Scripts and Custom Templates) tab, and then expand the following location: Client Scripts -> Global -> Pages with header/footer -> Startup Script, then copy and paste the following code:

    $(".ewMenuRow").remove();
    $(".ewMenuColumn").remove();
    

    As you can see from the code above, we have to handle the possibility of Horizontal and Vertical menu. This is important, since PHPMaker supports for displaying menu using either horizontal or vertical style. So don't forget to handle those possibilities.

  5. Finally, re-generate your script files using PHPMaker as always.

Just for your information, you can check that code from your generated footer.php file (have a look at the bottom of the file).

Article by Masino Sinaga / Tips and Trick / Client Script, global code, horizontal, horizontal menu, jQuery, menu, PHPMaker 9.1.0, PHPMaker 9.2.0, vertical, vertical menu Leave a Comment

A Case Study: Adding Prev Next Navigation Links in the Master/Details Page of Websites that Generated by PHPMaker 9.1.0
A Case Study: Creating Provinces, Cities, Subdistricts Dynamic Selection in Websites that Generated by PHPMaker 9.1.0

Leave a Reply Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • A New PHPMaker 2025 Project File Is Released
  • PHPMaker 2025 Demo Project File Is Released
  • Masino Extensions for PHPMaker 2025 Is Released!
  • A New PHPMaker 2024 Project File Is Released
  • PHPMaker 2024 Demo Project File Is Released
  • Masino Extensions for PHPMaker 2024 Is Released!
  • PHPMakerProjects.com, For Those Who Need PHPMaker Project Sample
  • A New PHPMaker 2023 Project File Is Released
  • PHPMaker 2023 Demo Project File Is Released
  • Masino Extensions for PHPMaker 2023 Is Released!

Search

Recent Comments

  • Masino Sinaga on Masino Extensions for PHPMaker 2024 Is Released!
  • Masino Sinaga on A New PHPMaker 2024 Project File Is Released
  • Masino Sinaga on PHPMaker 2023 Demo Project File Is Released
  • Edward Babatunde on PHPMaker 2023 Demo Project File Is Released
  • Edward Babatunde on Masino Extensions for PHPMaker 2024 Is Released!

Demo Website

  • Demo of I Love PHPMaker 2025 (MasinoExtensions).
  • Stock Inventory Management for PHPMaker 2025.

Another Demo

The following template are not available in this site (must be purchased separately)

  • PHPMaker v2018 Horizontal Vertical Template.
  • PHPMaker v2017 Horizontal Vertical Template.

Demo Explanation

Stock Inventory Management is the good project for your reference, since it uses the real example in the real world. Many useful features you can use from this project, such as how to add the Thousand and Decimal separator character, and also how to calculate multiple row in Grid-Add when End-Users are entering data into the Grid-Add mode.

Categories

  • Customize Template (103)
  • General (4)
  • PHP Report Maker (17)
  • PHP Report Maker Extensions (2)
  • PHPMaker Extensions (84)
  • PHPMaker Projects (7)
  • Tips and Trick (72)

Articles based on version

  • PHPMaker 2025
  • PHPMaker 2024
  • PHPMaker 2023
  • PHPMaker 2022
  • PHPMaker 2021
  • PHPMaker 2020
  • PHPMaker 2019
  • PHPMaker 2018
  • PHPMaker 2017.0.7
  • PHPMaker 12.0.7
  • PHPMaker 11.0.6
  • PHPMaker 10.0.5
  • PHPMaker 9.2.0
  • PHPMaker 8.0.3
  • PHP Report Maker 12

(c) I Love PHPMaker 2010 - 2025 by Masino Sinaga | WordPress | Log in | Back to top