2608 comments found.
Hi In portfolio view, how do I enable the columns title to appear?
Hi,
The portfolio view is a special type of view that displays items as a portfolio. All items are displayed as a single column so I am not sure what you mean by enable column title to appear. Please explain. Thanks
Trying to install here: https://iammarioezeh.com/script/ and getting an error message. I tried following the instructions including configuring the config file but not sure how to pull up the actual application. I even installed the demo information into the mysql database thinking that would do something, but nothing. Stuck at the moment. I’m sure it’s something I’m overlooking. Need help please. Thank you for your time.
Note to my previous request: The examples of setTriggerOperation presents in the documentation and demo are not working. For example, you wrote table employees and column leaves, but the files in demo are about table student and column attendance, and the file is not working with the provided sample database (demo). If possible, please update this. If not possible right now, please just answer urgently my previous request. Thank you
Could someone provide me an answer?
Hi, I need help solving this problem using PDOcrud: I have table_customer with column previous_notes. I need to have an HTML field named new_note in edit form, so that the users can write in it a small note when editing the customer. And after the user clicks Save (in the edit form), that small note he just wrote is added (appended), with a timetable prefix, to the existing contents of column previous_notes. Example: Column previous_notes contents BEFORE edit: 2025-05-05 18:54 Customer likes coffee. Column previous_notes contents AFTER edit: 2025-05-05 18:54 Customer likes coffee. 2025-05-05 19:36 Customer likes tea also. I have tried doing this with callback functions and with setTriggerOperation, but no luck. Can you tell me the correct way of solving this?
Hi, I need help solving this problem using PDOcrud:
I have “table_customer” with column “previous_notes”. I need to have an HTML field named “new_note” in edit form, so that the users can write in it a small note when editing the customer. And after the user clicks “Save” or “Save and back” (in the edit form), that small note he just wrote is added (appended), with a timetable prefix, to the existing contents of column “previous_notes”. Example:
Column “previous_notes” contents BEFORE edit: 2025-05-05 18:54 Customer likes coffee.
Column “previous_notes” contents AFTER edit: 2025-05-05 18:54 Customer likes coffee. 2025-05-05 19:36 Customer likes tea also.
I have tried doing this with callback functions and with setTriggerOperation, but no luck. Can you tell me the correct way of solving this?
Please ignore my request. Thank you
e683dc94-49a2-44ab-a36c-0e25fe4c0345 – 23 Apr 2025 REGULAR LICENSE
Please help me to install the script. I am doing something wrong. Just need to list and search the dbase in the config
ssh 22
cloudweston.com user: expartx Pass: P!edmont09
This is a direct admin. Information in config file
Thank you
Hi
Please don’t post sensitive information here. This is public comment system and anyone can see your information.
I will check and will surely help you. Please wait. Thanks
No es como lo indica, no lo veo facil, ni optimo para mi gusto.
Hi
I do not understand your issue. Please elaborate.
Please check the demo and documentation for more details.
Demo URL – https://pdocrud.com/demo/pages Documentation URL -https://pdocrud.com/documentation/ Basic Details – https://pdocrud.com/tutorial/
Hi, I purchased your script and I have 2 questions:
Question 1: In my country, we use a comma (”,”) as the decimal separator for currency. But, you PDOcrud uses a point (”.”). This presents us a problem: For example, if we insert the number 1234567,89 in the form field “Order Amount”, the grid will afterwards display “1234567,00” and not “1234567,89” (i.e., the 89 cents are incorrectly converted to 00). My question is, what changes must we do in the code, so that our users can write the currency values using a comma as the decimal separator? So that they may write in the field form “1234567,89” with a comma, and need not to write “1234567.89” with a point.
Question 2: In the display grid, we need the currency numbers to display: 2.1 – the decimal separator as a comma (”,”) 2.2 – the thousands separator as a point (”.”) So that when a user inserts the number 1234567,89 in the form field “Order Amount”, the grid will display “1.234.567,89” in the “Order Amount” column (and not “1234567.89” or “1234567,89”).
I’ve seen here past solutions regarding similar cases, mentioning “formatTableData” and “tableColFormatting”. But these past situations are exactly like my 2 questions. And although I tried for several hours and made several experiments, I couldn’t make it work. I’m in the early stages of learning PHP, so I really need the exact lines of code about this.
Can you help?
Update: “But these past situations are NOT exactly like my 2 questions.”
Hi, can you help?
Hi,
You can use the callback functions to format the data. To know more about the functions, please check the following article
https://pdocrud.com/documentation/#php_callback_functionsThanks
Have you read my 2 questions with atention? Please answer them. And tell me exactly how the callback functions should be used in this 2 cases. I know that the callback functions must be used, specifically “formatTableData” and “tableColFormatting”, but you don’t have examples about this 2 cases in your documentation, nor in your example pages (which are many, but all with the same number format regarding inserting and displaying currency). This is taking me days to solve. And I really need to find a solution. Just saying read the callback functions does not help.
Does someone (different from the developer) know the answer to my 2 questions? If so, I would really appreciate if you could post it here. If not, I will have to ask for a refund. I live in the Euro zone and it is necessary for us to solve this urgently.
Hi
You haven’t mentioned any code examples to understand what you are doing incorrectly.
As I mentioned about callback, you need to first format the data before insert. This will make sure that data you entered saved correctly.
//Adding callback functions
$pdocrud->addCallback("before_insert", "beforeInsertCallBack");
function beforeInsertCallBack($data, $this) {
// print_r($data); to print complete data, this data can be checked in firebug console.
$data"tablename"= format_data(trim($data"tablename");
return $data;
} //format _data is the custom function that you need to write to convert your string representation to number to be saved in the database correctly.
After this, you need to use the “formatTableData” and “tableColFormatting” call back functions to display the result properly
I have written the code example now for your table..Hope now you will understand the issue. Thanks
Ok, I will try this. Thanks
Problem with dbOrderBy “dbOrderby” only takes the first parameter into account. I’ve read many forum posts that have this bug. The correct syntax is as follows (example): $pdocrud->dbOrderBy(array( ‘col1 desc’ , ‘col2’ )); BUT the code in script/classes/pdomodel.php needs to be modified: Around line 1008, getorderBy() function: $orderBy .= “ORDER BY ” . implode(”,” , $this->parseColumns($this->orderByCols) ); Replace with: $orderBy .=” ORDER BY ” . implode(”,”, $this->orderByCols); Afterwards, the sorting is done correctly on both columns. Does DDEVELOPER agree with this fix?
Okay.. thanks for the information. I will surely check and let you know about this. Thanks
Hi, I bought your script yesterday and I followed the configuration steps, but always get a blank page. In several comments here with the same problem, you ask the customers to see this page:
https://pdocrud.com/tutorial/pdo-crud-quick-installation-configuration/But, this page is not working.
And gives this error:
“There has been a critical error on your website. Learn more about debugging in WordPress.”
In a comment of 2 months ago, you said you would fix this. But, today is still not working. Please, can you fix it?
Hi
Can you please share your purchase id via email. I will surely help you. Thanks
Hi, I’ve just sent it now
Hi
“There has been a critical error on your website. Learn more about debugging in WordPress” Are you using this in WordPress? If yes, then how are using the code that outputs the CRUD? Using coding? You can share your website URL to learn more about the issue and resolve it. Thanks
No. That message appears when I try to go to your website (https://pdocrud.com/tutorial/pdo-crud-quick-installation-configuration/). Can you please fix your website, so I can see the tutorials?
Hi
The website is up and working now. Please check. Let me know if you still need some help. Thanks
Yes, the website is working now. Thanks
Hi, I purchased your script and I have 2 questions:
Question 1: In my country, we use a comma (”,”) as the decimal separator for currency. But, you PDOcrud uses a point (”.”). This presents us a problem: For example, if we insert the number 1234567,89 in the form field “Order Amount”, the grid will afterwards display “1234567,00” and not “1234567,89” (i.e., the 89 cents are incorrectly converted to 00). My question is, what changes must we do in the code, so that our users can write the currency values using a comma as the decimal separator? So that they may write in the field form “1234567,89” with a comma, and need not to write “1234567.89” with a point.
Question 2: In the display grid, we need the currency numbers to display: 2.1 – the decimal separator as a comma (”,”) 2.2 – the thousands separator as a point (”.”) So that when a user inserts the number 1234567,89 in the form field “Order Amount”, the grid will display “1.234.567,89” in the “Order Amount” column (and not “1234567.89” or “1234567,89”).
I’ve seen here past solutions regarding similar cases, mentioning “formatTableData” and “tableColFormatting”. But these past situations are exactly like my 2 questions. And although I tried for several hours and made several experiments, I couldn’t make it work. I’m in the early stages of learning PHP, so I really need the exact lines of code about this.
Can you help?
Hello I just purchased and I am wondering if you have a simple sample app that contains more than one page that I can look at. I am having a little trouble figuring out how to put it all together. Thanks Jane
Hi
The demo contains more than a page sample app. It’s also inside the folder. Let me know what you need to help you better.
Thanks
$pdocrud->fieldNotMandatory
Do you have to list each column separately? Using comma or array doesn’t work.
Also, what’s the format/code to make ALL fields Not Mandatory?
I need to request a refund. This is not what I expected. I needed a turnkey drop in library. This uses several jquery and jquery ui libraries, and they are conflicting with the site’s existing code. It’s not worth the trouble to make it work. I will use something else. Please initiate a refund, and thank you.
Looking at this examples
$action = “http://google.com/?id={pk}”;//pk will be replaced by primary key value $text = ‘’; $attr = array(“title”=>”Redirect URL”); $pdocrud->enqueueBtnActions(“url”, $action, “url”,$text,”booking_status”, $attr);
Is it possible to update the script to use any other column apart from {pk}?
Also, it is possible to use a column’s value in the $attr array.
I use HTMX and I need the link to have custom data attributes. So, I can add $attr = array(“title”=>”Redirect URL”,”hx-get”=>”link.php?id={pk}”);
You responded to several messages after this, yet ignored it. Okay.
Hi
Sorry, somehow this message got missed.
1. Currently it support primary key only to be replaced. We will add any column option in next version.
2. No it’s not possible to use the column values in attribute.
I will try to add both of these features in next version and will release soon. Thanks
This url is having issues: https://pdocrud.com/tutorial/pdo-crud-quick-installation-configuration/
Hi,
Okay. I will check and correct it. Thanks
Additional information on precedent issue : On a grid table, when I click on the edit button or on the view button, the form that is displayed does not have a left margin. On which CSS class should I act? In which CSS file? Thanks in advance.
Hi,
For view form, you can apply CSS in the following class .pdocrud-table-view. You can use the inspect tool to find the appropriate class, in case you are still not able to find let me know. You can create a separate file for CSS so it wont be overridden in future updates.
Thanks
Hello,
I don’t find how to put a left margin on edit form or view form. They are framed completely on the right.
I need your help.
Thank you.
Hi
I am not sure where you want to put left margin. but you can easily add margins using simple CSS. Let me know if you need further help..
Thanks
With RENDER function, we have 4 buttons on page generated : SAVE ,SAVE&BACK, BACK, CANCEL With RENDER function we have only 2 buttons : SAVE, CANCEL Why ?
Thank you for your answer.
Hello,
With RENDER function, we have 4 buttons on page generated : SAVE ,SAVE&BACK, BACK, CANCEL Wtih RENDER ) function we have only : SAVE, CANCEL Why ?
Thank you for your answer.