One thing that is bothering me after upgrading from version 8 to version 9 of PHPMaker is the missing border-bottom at the last row cell in the main table that displaying the records. This condition looks very uncomfortable for most users, including myself. In version 8, this never happened though. That is, in version 8, the last line in the table has a border-bottom at the last row cell in the main table.
The following modifications will show you how to overcome it. We are going to customize the template file, so every time you generate your .php files using PHPMaker, the last row/record cell in the main table will always have the border-bottom. I think it more makes sense to show the border-bottom rather than not displaying the border-bottom of the last row cell. I just wonder why PHPMaker developers remove this border-bottom.
Updated on May 29, 2012: This customization has been implemented in PHPMaker version 9.0.2, it matches to each other, and as a result, it works properly.
Updated on July 21, 2012: This customization has been implemented in PHPMaker version 9.0.3, it matches to each other, and as a result, it works properly.
Updated on September 4, 2012: This customization has been implemented in PHPMaker version 9.0.4, it matches to each other, and as a result, it works properly.
Updated on November 26, 2012: This customization has been implemented in PHPMaker version 9.1.0, it matches to each other, and as a result, it works properly.
Updated on February 9, 2013: This customization has been implemented in PHPMaker version 9.2.0, it matches to each other, and as a result, it works properly.
[hidepost]
-
Open your ew.css file under the C:\Program Files\PHP Maker 9\themes\ directory, and find this code:
/* main table last row cell */ .ewTable td.ewTableLastRow { border-bottom: 0px; }then replace it with the following code:
/* main table last row cell */ .ewTableLastRow td { /* <--- this has been changed in order to support border-bottom at last row cell in the table, Modified by Masino Sinaga, April 29, 2012; The right side is the original one, see this ---> .ewTable td.ewTableLastRow { // original one! */ border-bottom: 1px; /* even using 0px still works! */ } -
Re-generate your script file using PHPMaker, and make sure you have already checked
.css file before generating it in the Generate window. - If, for somehow, this customization does not work for you, the alternative way that you can do is by setting up the cascading style sheet value. Open your PHPMaker project (.pmp) file, then click on HTML tab -> Theme -> Grid Lines -> Show -> change to Both, afterwards save your project, and re-generate your script files using PHPMaker as always.
[/hidepost]
This works with 9.1
Thanks for letting us know. 🙂