MasinoHeaderFooter10 extension will change the main look and feel of your Header and Footer of web applications that generated by PHPMaker 10. You can change the settings by adjust the related constants in the generated configuration (ewcfg10.php) file.
Updated on October 8, 2013: Alertify Javascript Notification/Alert System is included in the extension. Now the logo image can be clicked to go back to index page. Added confirmation before user exit from application by clicking on the Logout link in the header.
Updated on October 10, 2013: Help online system, Terms and Conditions, About Us dialog boxes, and Multiple-Themes.
Updated on October 14, 2013: Implemented Alertify besides for alert dialog, also for confirmation dialog.
Updated on October 31, 2013: Additional new themes which supports for displaying bigger font size.
Updated on November 7, 2013: Adjusted the field name which will supports for Oracle database. As we know, there are some limitations that related to the maximum length of the field in Oracle.
Updated on November 10, 2013: Implemented completely the related settings for header section.
Updated on November 19, 2013: Code adjustment that related to another extension.
Updated on January 14, 2014: Added: Font Name and Font Size option settings which you can use to change the font name and font size of your web application easily and quickly. There are 14 font names and 4 font size available.
Updated on January 17, 2014: Fixed: the icon size changes become dot when it is located at the row of the table and displayed by Google Chrome browser.
Updated on January 19, 2014: Fixed: users which have level "admin" (not "sysadmin") do not use the preferences from their user profile.
Updated on February 1, 2014: Fixed: removing IsAdmin() from IsAdmin() || IsSysAdmin() checking so that user admin will use the preferences setting from their user profiles.
Updated on March 15, 2014: Added: mobile responsive design layout for the form in Login, Reset Password, Registration, and Change Password pages.
Updated on March 19, 2014: Fixed: preview tab does not show up properly if the font size is smaller than 13px. Fixed: preview overlay is now using the same style with preview tab.
Updated on April 12, 2014: Improved: The look and feel of Tab for Multi-Page and Master/Detail Preview Row and Preview Overlay is now better than before and the original Tab of Twitter Bootstrap.
Updated on May 12, 2014: Now the Modal dialog supports for mobile responsive design.
Updated on May 21, 2014: Now the Modal dialog position will automatically be centered in the bigger width screen.
Updated on May 22, 2014: Adjusted code in the file that related to other extensions.
Updated on May 31, 2014: Removed the background color of white when modal dialog is being faded-in, and changed the opacity from 0.7 becomes 0.3, and from 70 becomes 30.
Last Updated on July 5, 2014: Handled modal bootstrap CSS file only for the pages that generated by PHPMaker and not applied for the report pages that generated by PHP Report Maker.
define("MS_SHOW_ENTIRE_HEADER", TRUE, TRUE); // Show entire header block
define("MS_SHOW_APP_TITLE_INSIDE_BODY", FALSE, TRUE);
define("MS_SHOW_SITE_TITLE_IN_HEADER", TRUE, TRUE); // Show Site title in header
define("MS_SHOW_CURRENT_USER_IN_HEADER", TRUE, TRUE); // Show current User status in header
define("MS_SHOW_ENTIRE_FOOTER", TRUE, TRUE); // Show entire footer block
define("MS_SHOW_TEXT_IN_FOOTER", TRUE, TRUE); // Show text in footer block
define("MS_SHOW_BACK_TO_TOP_ON_FOOTER", TRUE, TRUE); // Show scroll to top on footer block
define("MS_SHOW_ANNOUNCEMENT", FALSE, TRUE); // Announcement status, set the second parameter to TRUE to show the announcement in all pages.
define("MS_ANNOUNCEMENT_TEXT", "", TRUE); // Announcement text, the value is derived from the .xml languages files
define("MS_MAINTENANCE_MODE", FALSE, TRUE); // Set the second parameter to TRUE if you want to display your website in Maintenance Mode
define("MS_MAINTENANCE_END_DATETIME", "", TRUE); // Set the second parameter to the future date/time value in "yyyy-MM-dd hh:mm:ss" format, if you want the system calculate how much long the system takes duration time to get the end of maintenance date/time. For example: 2011-08-30 17:28:00
define("MS_MAINTENANCE_TEXT", "", TRUE); // Just for displaying maintenance message to user with admin level, nothing else!
define("MS_AUTO_NORMAL_AFTER_MAINTENANCE", TRUE, TRUE); // Set the second parameter to TRUE if you want the system to be automatically switch from the Maintenance Mode to Normal Mode whenever the end of maintenance date/time has been reached.
As the conclusion and recap, here is the advantage of MasinoHeaderFooter10 extension:
- The ability to display or hide entire header.
- The ability to display or hide application title inside the body.
- The ability to display or hide site title in header.
- The ability to display or hide current logged in user in header.
- The ability to display or hide entire footer.
- The ability to display or hide text in footer.
- The ability to display or hide the Announcement text on all pages.
- The ability to switch to the Maintenance mode, including auto-normal mode.
- Adding "Back to Top" link on footer so that user can scroll to top by clicking on the link.
- The logo image is now able to click to return to the index page.
- Now Alertify Javascript Notification/Alert System is always included. First implementation: displaying logout confirmation dialog when Logout link is clicked on header.
- Added confirmation dialog when user is clicking on the Logout link in the header.
- Help online system for all pages.
- Terms and Conditions dialog box.
- About Us dialog box.
- Multiple-themes or colors (16 css files available)
- Alertify Javascript Notification/Alert for the alert and confirmation dialog box.
- New additional themes which support for displaying the bigger font size.
- Font Name and Font Size options are added, and removed the bigger font size settings.
Hi Masino, I’ve been experimenting some time to achieve this, so I’m very eager to look at your extension! You 10 demo sold me when I saw the user info & language choice in the header. Exactly what I had been trying to do.
You seem to have conquered this great platform, so another question: we are building an application (PHPMkr10) around healthcare innovations/solutions and we want a nicer look and feel than it seems that PHPMaker can offer.
Would you be interested to assist or consult with us from time to time on a projectbasis to help us achieve this?
Kind regards, Bob
Hi, Bob. Sure. You may send me an email to masino[dot]sinaga[at]gmail[dot]com.
Hello Masino,
i have installed your HeaderFooterExtension10 and all i achieve is a
PHPMaker: Generate Header page error
PHPMaker (ewExHeader):Microsoft JScript Runtime Error
(138F), line 301, column 4
Description: Object expected.
Is there a step that i finally not know ??
Best regards, Huelya
Hi Huelya,
Make sure you have enabled all my extension that created for PHPMaker 10.
Masino, the logout button from your extension gives a “dummy” text and buttons in all the browsers for the logout dialog. Any workaround? Also, I always get the “Failed to execute SQL. Error: Table ‘xxx.languages’ doesn’t exist”
Please follow all the steps in this article: Step by Step to Implement Masino Extensions in a New Project of PHPMaker 10.
I forgot to mention that Im only using you “detect changes”, “footer” and “preview row” extensions for 10.4. I really dont ALL of them.
You have to use/enable all of my extensions for PHPMaker 10.
In addition, please follow also all the steps in this article: Step by Step to Implement Masino Extensions in a New Project of PHPMaker 10.
Well, why should I enable all? I dont need all 😛 ? For instance, I don’t want a horizontal menu or fixed width…If so, I really dont understand why you dont put one file download containing ALL of your extensions….and why you put them separately if they dont work separately?
Because there are some of my extensions I made in order to replace PHPMaker extensions, and they also must be located under the same Type of the ones that belong to PHPMaker extensions.
For example: MasinoCAPTCHA10 and CAPTCHA, MasinoPreviewRow10 and Preview, MasinoHorizontalVertical10 and HorizontalMenu, etc.
This will prevent to enable both extensions in the same type. So I have to put them under the same type with the related PHPMaker extensions.
As I said, I think most of the users need your extensions separately, for instance I really dont need captcha, what is really important for me in this moment was a way to customize the header, but I did it already in old fashion way, I edited the CSS since your extension related to header contained more things that I actually needed (and in fact, gave a lot of errors without the rest of the extensions). Again, I repeat, I dont understand why you dont put one zip file with ALL the extensions for download since some of them dont work separately.
I repeat again my answer to you: I cannot make them in one .zip file, since I have to make some extensions in the same Type of the existing ones that provided by PHPMaker. So, If I combined all of my extensions in one zip file, and user enable it, but in the other side user also enable the similar extension that provided by PHPMaker, then it will overlap between one and another, and this will cause many issues in the generated web app.
I had explained you some example of extension regarding this. Please read again my previous answer above carefully. And please try to understand about this, and please do not ask the same question again and again.
If you don’t want to use my extensions, then it’s fine. Just leave it! Simply do not use it. I do not insist you to use it if it will cause any trouble to you. You can customize your template based on the existing one I did.
An update for 10.0.4 of this tutorial will be great:
http://www.ilovephpmaker.com/customize-template/how-to-customize-header-and-footer-in-websites-that-created-with-phpmaker-9-0-1/
Sorry, I do not customize any template anymore. The reason for this is: creating an extension should be a better solution than customizing the template.
If you don’t want to use my extension regarding this, I recommend you to create your own extension that suits best with your needs.
Well, as I said in previous post, there is no point to use ALL your extensions if I only need 1. And again, if you dont see the point of customizing the template for 10.0.4 (like you did for 9.2) I will cancel my subscription to your site. Have a nice day.
No problem. Have a nice day to you, too. 🙂