Warning: Only for PHPMaker version 12.0.7
This extension will change the main look and feel of your Header and Footer of web applications that generated by PHPMaker 12. It also will display the Announcement and or Maintenance Mode.
There are some new features will be included in your Header and Footer, such as: Displaying current logged in User ID in Header, language selector in Header, web application title in Header, hiding the Header and or Footer, Multiple-Themes/Colors, and many others.
| Version | 12.0.7 |
| Last Updated | June 9, 2016 |
| Downloaded | 175 times |
| Create Date | July 31, 2015 |
Dear Mr Masino,
In this extension, we have option to choose the Theme Options. How easy is it if I want to add more theme colours for my project? What is the best way to do it?
Thanks.
You may create your own extension based on this one, and then learn the structure and the logic of it to add more theme colors into yours.
Dear Mr Masino,
I just noticed that if I use theme-white in MasinoFixedWidthSite12, the table header and contents are not aligned together. A few other theme colours I tested is OK
Sorry I mean using the theme “theme-white” in MasinoHeaderFooter12..
Thanks for the feedback. Will look into this and let you know the result afterwards.
I’ve made some comparison of theme-white.css with other file. Here’s the differences:
.ewGridLowerPanel.panel-footer {
padding: 5px; –> Should be padding: 3px;
———-
Missing these two in theme-white.css:
.ewGridUpperPanel.panel-heading {
background-color: #ededed
}
.ewGridLowerPanel.panel-footer {
background-color: #ededed
}
———-
This is the one causing table header and table content not aligned:
.ewGrid .ewTable>tfoot>tr>td {
padding: 5px; –> Should be padding: 3px;
———-
.ewPreviewLowerPanel {
padding: 5px; –> Should be padding: 3px;
———-
.ewExportTable td {
padding: 5px; –> Should be padding: 3px;
———-
Thank you. I’ve just fixed it and uploaded the updated today.
I’m sorry but where do we set the contents of the About Us? I try to change the aboutus phraseid in the english.xml but the link and content is showing the same text
You may simply customize the content of About Us from the languages table.
I’m using MSSQL database and I’m not using table settings for languages. That’s why I’m trying to amend the languages.xml but it seems like not the right place.
About text must be derived from the languages table. Currently, it is not available from the .xml language files.
This extensions dont work on phpmaker 12.0.2???
Or I need to install another versions of masino
Thanks
You need to upgrade your PHPMaker to the latest of version 12. In other words, you have to use PHPMaker version 12.0.7 in order to use this extension.
I have an error message (Warning: array_keys() expects parameter 1 to be array, null given in /home4/itsc/public_html/isys/userfn12.php on line 270)
What is the code on line 270 in the generated userfn12.php file? Can you copy and paste in here?
// Begin of modification LoadApplicationSettings, by Masino Sinaga, September 22, 2014
function LoadApplicationSettings() {
$_SESSION[‘isys-14-10-2016-0152_views’] = 1; // reset the global counter
// Parent array of all items, initialized if not already…
if (!isset($_SESSION[‘isys-14-10-2016-0152_appset’])) {
$_SESSION[‘isys-14-10-2016-0152_appset’] = array();
}
$sSql = “SELECT * FROM “.MS_SETTINGS_TABLE.” WHERE Option_Default = ‘Y'”;
$rs = ew_LoadRecordset($sSql)->GetRows();
$x = array_keys($rs[0]); //Line 270…
for ($i=0; $i $value) {
$sfieldname = $x[$i];
if (!is_numeric($sfieldname)) {
$_SESSION[‘isys-14-10-2016-0152_appset’][$sfieldname] = $value[$x[$i]];
}
}
unset($value);
}
}
Make sure you have already added the settings table into your current database.
Please always refer to the demo project that I provided in this site, too!