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 Hide the Search Panel in Detail Section of Master/Detail Page in Web Applications that Generated by PHPMaker 10
Hiding Tab in Edit Page of Web Applications that Generated by PHPMaker 10
Preventing Copying Records in the Web Applications that Generated by PHPMaker 10

November 18, 2013

How to Hide the Search Panel in Detail Section of Master/Detail Page in Web Applications that Generated by PHPMaker 10

PHPMaker generates the Master/Detail view page by including the Search Panel in the detail section. Most of the time, I do not need the Search Panel is displayed in the Detail section. The reason for this is that it often confused the users since if they use the Search Panel to find records that do not related to the Master record, then it always returns no records are found.

This following trick will show you how to hide the Search Panel in the Detail section of Master/Detail page easily and quickly. We will use the certain Server Event from PHPMaker to achieve it. In other words, we will not customize the template nor the generated code. This is very useful also for you, if you want to obviously hide the Search Panel dynamically only for the Master/Detail page, and leave it for the List pages (other than the Master/Detail page).

Want to see the demo? Just click here!

[hidepost]
Assume that we have a table name kecamatan, then put the following code under Server Events -> Table-Specific -> List Page -> Page_DataRendering:

    if ($this->MasterRecordExists) { ?>
        <style>#fkecamatanlistsrch_SearchPanel, #fkecamatanlistsrch_SearchGroup {
        display: none;
        }
        </style>
    <?php }

As you can see, we just simply set the display style become none for the selectors that related to the Search Panel. Adjust it with your search panel and search group names.
[/hidepost]

Article by Masino Sinaga / Tips and Trick / list page, master-detail, Page_DataRendering, PHPMaker 10.0.2, PHPMaker 10.0.3, PHPMaker 10.0.4, Search Panel, Server Events Leave a Comment

Hiding Tab in Edit Page of Web Applications that Generated by PHPMaker 10
Preventing Copying Records in the Web Applications that Generated by PHPMaker 10

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