There is always the good news for you who have been using Masino Extensions! Now you have an option to display only detail count which greater than zero in the Detail section of Master/Detail. In other words, you will not see the detail count which contains no data in it. This really cleans things up a bit and allows the user to quickly identify which detail tables actually contain data. Also, you have an option to display the detail count information using badge of Twitter Bootstrap style. This will make your web applications become more professional to your end-users.
To implement this new feature in your web applications, then please download ALL the latest version of extensions files that I made for PHPMaker version 10 from this link. If you are not sure which ones that I customized for the latest time, just download ALL the extensions for PHPMaker 10, as I also customized some other related extensions for this changes. Extract them, and then replace all the existing extensions with the new ones.
Make sure you have enabled ShowDetailCountGreaterThanZeroOnly and UseBadgeForDetailCount from the Advanced Setting of MasinoFixedWidthSite10 extension (since the default setting is disabled), afterwards, don't forget to regenerate ALL the script files using PHPMaker, as always.
You may try to play with the related setting for this, by adjusting the constants as follows from the generated ewcfg10.php file:
define("MS_SHOW_DETAILCOUNT_GREATER_THAN_ZERO_ONLY", TRUE, TRUE); define("MS_USE_BADGE_FOR_DETAILCOUNT", TRUE, TRUE);
If you want to see the demo, just login to Demo of I Love PHPMaker 10 using username admin and password master, open the Orders menu, then hover your mouse to Master/Detail button to see it in action. Try to hover for all records one by one to see the difference between one and another.
Enjoy it! 🙂