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 » Customize Template » How to Change Header Background Color Above the Scrolling Table in Websites that Generated with PHPMaker 9.0.1
How to Switch Your Site Menu from Horizontal to Vertical and Vice Versa Easily Using PHPMaker version 9.0.1
How to Make a Fixed Width Site Using PHPMaker version 9.0.1

May 1, 2012

How to Change Header Background Color Above the Scrolling Table in Websites that Generated with PHPMaker 9.0.1

If you are using the ScrollingTable extension and you are also using the multiple theme or Cascading Style Sheet for your web application, then you will find that the background color image that located right above the scrolling table will inherited from the value of the default custom style sheet you generate. For example, you are using Red theme while generating your files using PHPMaker, and then your users change the theme on the fly to Gray theme, then the background color image in the new Gray theme still remains using the Red background color image. Of course we do not want this condition happened.

This background color image should be default for all themes (assuming you are using multiple theme feature). The best background color image for all themes should be the same color with the scroll color item itself. In other words, we should define the color of that background color image that located above the scroll item with the Gray color, since the color of the scroll item is gray too. To overcome this issue, I have successfully customized the PHPMaker template file.

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.

Updated on June 17, 2013: This customization below has been handled by using MasinoFixedWidthSite extension. You don’t need to implement the customization below if you use my extensions together with the original PHPMaker Template and Extension files.

[hidepost]

  1. Open your \extensions\ScrollingTable\scroll.js file, and find this code:

    	border-color: <!--##=ew_CssInherit(PROJ.GetV("ThemeTableHeaderBorderColor"))##-->; /* header border color */		
    	background-image: url(<!--##=ew_FolderPath("_images")##-->/<!--##=PROJ.GetV("ThemeTableHeaderBackImage")##-->); /* header bg image */
    	background-repeat: repeat-x;
    

    then replace it with this following code:

    	border-color: #DEDEDE; /* header border color */		
    	background-color: #DEDEDE;
    	/* Begin of modification Change Header Background Color Image to Default Gray color, by Masino Sinaga, April 30, 2012 */
    	/* background-image: url(<!--##=ew_FolderPath("_images")##-->/<!--##=PROJ.GetV("ThemeTableHeaderBackImage")##-->); /* header bg image */ */
    	/* background-repeat: repeat-x; */
    	/* End of modification Change Header Background Color Image to Default Gray color, by Masino Sinaga, April 30, 2012 */
    
  2. Finally, re-generate your script files using PHPMaker as usual.

[/hidepost]

Article by Masino Sinaga / Customize Template / background color image, cascading style sheet, css, custom style sheet, header background, PHPMaker 9.0.1, PHPMaker 9.0.2, PHPMaker 9.0.3, PHPMaker 9.0.4, PHPMaker 9.1.0, PHPMaker 9.2.0, ScrollingTable Leave a Comment

How to Switch Your Site Menu from Horizontal to Vertical and Vice Versa Easily Using PHPMaker version 9.0.1
How to Make a Fixed Width Site Using PHPMaker version 9.0.1

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