However, when i try to connect phpmaker to the server I am struggling. I tried using "localhost" and the IP address of the server and this didn't work - connection was rejected by the server. I've then tried to connect via phpmaker.php/URL but get the following error in the browser:
If command line could established the connection, then, you proceed to initiate connection using phpmaker.
If connection could not established using command line, then, the problem is within your server setting, neither with phpmaker nor php.
My guess is, you server run on shared public IP address. If this is the case then you need to replace the IP with your domain and repeat the command line:
mysql -h something.com -u (username) -p
Hi, I'm working on a new format and need to change the CSS Class of the View/Edit cells from "phpmaker" to "action". I can do this for all of the database record fields in the list page using ->CssClass, but can't seem to access the view/edit etc links at the end. When I try CurrentTable()->view->CellCssClass = "action"; nothing happens, same with CurrentTable()->view->CellAttrs["class"]= "action";
inside of Row_Rendered, it echoes the new style above the table, but the view table cell is unaffected as is the link. The table cell still shows "phpmaker" as the class, and the link shows ewRowLink as the class.
This is the only way I can alter the class of the TD and A (with a string replace) so it's pretty hefty on the processing side as I have to add this to all tables. I think this is because CssClass is missing from the cListOptions class. It could be done easily in jQuery too but that's post-processing and unreliable.
It's OK in this case, I edited the list-script-function.php template to use "action" on those cells, and extended cListOptions to include the CssClass property so I can alter the classes programmatically.
Create an Aggregate function from "Fields" setup for one of your existing field (other than the ones you added via "ListOptions_Load" and "ListOptions_Rendered" server event) to provide a new row at the bottom of the table in List page. This is important to put the result in this row! So make sure you have already done this before proceed to next step!
I'd like to add a static HTML page to my phpmaker app.
Eg, if I select a certain entry from the left dark grey navigation area,
instead of ending up on a phpmaker page that is generated from a mysql table,
I just want to show a HTML page that i've created myself.
So, when I go to my site, it's only visible to administrator level users btw,
and i get a HTTP 500 error when clicking on the link to it.
if I look at the generated file on my webserver, i see this:
If I change the 3rd line from "../../"; to "../",
it works fine, and my custom page works...
How can I change this in phpmaker so i don't have to manually change this every time re-generate my code ?
Also, the page is also only visible to administrator level users,
and in the security settings, the custom page is not in the list of tables where i can select permissions for each table/generated page for the different user levels like administrator, default etc...
I also need to add some javascript ... entries to load some javascript .js files from some URLs in the pages header section,
this seems to be done before my code in Page Code -> Custom Templates -> table specific -> Custom File -> Content
does anyone know where I need to add those ?
In addition, you may use Startup Script under Client Scripts section to write Javascript/jQuery code to call the related Javascript function from that third party javascript library.
Only administrator level users can see the menu entry on the left nabigation sidebar and see the page i made...
I need to make this page available to all users, but as I said before, in the security settings, i can only enable
the different permissions for table generated pages, not these custom File based pages...
I've found a stopgap measure with just adding the executescalar queries in the fields of phpmaker,
but,
one thing i'd like to ask, why can only administrator user levels see my new user page I created ?
How do I let normal users and/or other users with another userlevel see the page ?
It doesn't show up in the security window where you can enable/disable all the actions a certain userlevel can perform on all your tables,
it only shows the tables, not the user page I created. do you know where I can set the permissions on who can see / use my new custom user page I created ?
It is because when you specify the path when you are creating the file only put a front slash in the Output folder : / and not : /modgraph. If you add text after the slash then you are creating a "sub directory" in the routing.
I just removed everything from the output folder field,
and now it generates and places my user page in the root of the website,
but the relative path variable is gone, so the problem is solved...
I'm ok just leaving my user defined pages in the webroot...
I'm trying to have a form in which there are certain field values which must only be set by admin like the "Publish on List" checkbox. Can it be done using phpmaker interface? If not, I will have to add the condition for each field by checking the currently logged in user's level.
There are also auto-updated fields such as "last modified", "IP", "user id" which must be seen only by users having admin privilege. If I deselect view checkbox for these fields, all the users even admin cannot view them. Can we restrict the fields at the user level using the phpmaker interface or by writing additional scripts? Thank you.
Bulan Juli, Agustus, dan September adalah bulan-bulan ketika dirilisnya PHPMaker versi major terbaru. Sejak versi 10 sampai dengan versi 2022 (base version: 18), PHPMaker umumnya dirilis pada salah satu dari ketiga bulan tersebut. Setidaknya untuk 9 versi major terakhir.
Hari ini 29 Agustus 2022, PHPMaker 2023 masih belum dirilis. Entah apa yang menyebabkan versi 2023 ini agak telat mereka rilis. Sambil menunggu dirilisnya versi 2023 tersebut, ada baiknya kita menengok kembali sejarah PHPMaker dari masa ke masa, atau dari versi ke versi.
Yang menarik adalah, PHPMaker mulai mengganti nama versinya dari nomor urut versi seperti di atas, menjadi versi (tahun plus satu) dari tahun saat itu. PHPMaker tidak pernah menggunakan versi 13, tapi menggantinya menjadi versi 2017, atau satu tahun dari tahun saat dirilis, yaitu 25 Juli 2016.
Wajar memang, selama 20 tahun PHPMaker sudah mengalami banyak perkembangan, hingga bisa menjadi tools PHP code generator yang memiliki segudang fitur canggih dan fleksibel serta mudah sekali digunakan.
Buat yang penasaran, berikut ini sejarah dirilisnya versi major PHPMaker sejak versi 1 sampai dengan versi terakhir. Informasi di bawah ini akan saya update kembali setiap kali PHPMaker merilis versi major-nya.
Selama kurang lebih 20 tahun, PHPMaker berusaha untuk selalu menggunakan teknologi terakhir di bidang web development. Seperti misalnya berusaha untuk mendukung versi PHP terakhir, dimana di tahun 2022 ini, PHPMaker sudah mendukung PHP 8.
Selain itu, sejak versi 2021, PHPMaker sudah mulai menggunakan routes supaya URL aplikasi webnya menggunakan versi SEO-Friendly. Sejak saat itu pula, PHPMaker menggunakan Slim Framework sampai dengan versi 2022.
Sejak versi 2019 sampai dengan versi 2022, PHPMaker pun menggunakan Composer untuk mengelola packages. Sejak versi 2019 ini juga, PHPMaker mulai memperkenalkan fitur REST API, dan masih tersedia sampai dengan versi 2022.
Terlalu banyak memang jika kita menguraikan segudang fitur yang tersedia di PHPMaker, sejak versi 1 sampai dengan versi 2022, saat artikel ini saya tulis. Jika Anda ingin melihat fitur-fitur apa saja yang tersedia di setiap versinya, silahkan buka file history.txt yang terdapat di dalam folder instalasi PHPMaker Anda.
Web Developer pengguna PHPMaker untuk membangun Aplikasi Web sejak tahun 2004. Sampai sekarang masih aktif dan rajin membagikan pengalamannya menggunakan PHPMaker melalui situs masinosinaga.com, ilovephpmaker.com, dan phpmakerprojects.com.
4. Untuk fitur Security, PHPMaker masih tanggung menampilkan Permission di halaman User Level-nya. Fitur Export Data belum ada permission-nya, jadi belum bisa diset secara dinamis seperti Permission CRUD.
Sebenarnya bukan PHPMaker-nya yang salah, tapi karena alasan di atas tadi, ada biaya yang harus dikeluarkan untuk menggunakan PHPMaker (meskipun tidak semua Web Developer seperti itu). Tapi, pada umumnya, ya masih seperti itu.
Contoh, saya sudah banyak membangun Aplikasi Web dengan PHPMaker untuk salah satu client terbesar saya, dan sebagian besar hanya bisa diakses dari jaringan Intranet mereka. Sekali dibangun, ditinggal bertahun-tahun, masih tetap jalan.
Dari sekian banyak Aplikasi Web itu, di antaranya ada 2 Aplikasi Web utama yang setiap hari selalu digunakan oleh kantor-kantor mereka di seluruh Indonesia, dan setiap hari dipantau bersama fitur Reporting/Monitoring-nya, karena merupakan parameter untuk pengukuran KPI Direksi perusahaan.
Lumayan lega dan puas juga mengawal Aplikasi Web tersebut. Bahkan, sudah beberapa kali saya update, dan hasil update-nya berjalan dengan mulus. Waktu pengembangannya pun cepat, dan hasilnya relatif stabil meskipun sudah ditinggal bertahun-tahun.
Mungkin maksudnya Master/Detail dengan tingkat kedalaman yang tak terhingga, gitu kali ya? Karena kalau Master/Multi-Detail sudah bisa, contoh implementasinya ada di project demo2022, yaitu table master: orders, dan detail-nya ada dua, yaitu orderdetails dan orderdetailextended. ?
Kalau client saya selama ini tidak terlalu peduli (baca: tidak mau tahu) dengan file project-nya, dan mereka tahunya yang penting aplikasi web yang mereka inginkan berfungsi sebagaimana yang diharapkan.
c80f0f1006