When i look up the table Newspapers List with id=14 there was two empty cells in row with title "Delavan Times" and "Washington News". We edit that rows and input your data from post below. For "Delavan Times" data range "5 Sep 1874–31 Dec 1896" and for "Washington News" data range "7 Nov 1929–15 Apr 1948". Data saved successfully. You can check on the both sides backend and frontend.
Was trying to enter the following two lines into the Date Range Cell for the Delavan Times:
5 Sep 1874–31 Dec 1896 7 Nov 1929–15 Apr 1948
I was also trying to enter a date range (which I didn't mention in my original post) for Washington Times :
16 Dec 1886–29 Nov 1894 2 Jan 1896–20 Aug 1914
Both of these accepted the values when entering from the Add or Edit Entry popup boxes - but after applying the changes by pushing the Apply/OK button (no errors reported), the cells remain empty.
I'm having the same problem. Inputs into a multi-line field are not saved if the input is more than one line. Can you describe how the issue was solved, please?
Not sure what Milan did - I gave him admin credentials so I assume they logged in and made some kind of changes to the plugin directly on my system. I would assume the change would come out permanently in a future update.
Thanks, Mike. From reading the thread, I thought Milan must have made the correction himself. But the problem is obviously affecting other people (like me). Some of them probably just haven't noticed it yet. So it would be helpful if he shared information on how to correct the problem.
Milan, please post the solution where others can find it. Thank you.
I check on your website and multi edit is working fine. When you try to insert data in that field you should use "Enter" key for new line. When you edit that cell and insert text without Enter, wpdatatables don't know how long do you want to be first line of that cell and that is the reason if is all text show up in one line.
Can you please tell me on which table do you notice this?
Yes a have to modify some code in plugin to make this work.
In file wp-content/plugins/wpdatatables/source/class.wdttools.php
and around line 710 you can find this code
if (self::isHtml($string)) { $string = self::stripJsAttributes($string); }
Thank you for this information! I've been having the same multi-line edit problem. After installing V2.1 yesterday, I had hoped that the multi-line edit problem would have been resolved....it hasn't. Fortunately, I stumbled upon your solution and it works like a gem. I've bookmarked this code edit for future use.
Multi-Line edit column in Newspapers List table will not accept following data:
5 Sep 1874–31 Dec 1896
7 Nov 1929–15 Apr 1948
As soon as I enter OK on the edit window, the update comes back but the field is still empty.
Thought I might have problem with my Excel import sheet but can't enter the data manually either.
Even created another table totally manually but still will not allow the multi-line data to be entered and saved.
Thanks,
Mike Dickson
Hi Mike,
Thank you for your purchase.
When i look up the table Newspapers List with id=14 there was two empty cells in row with title "Delavan Times" and "Washington News". We edit that rows and input your data from post below. For "Delavan Times" data range "5 Sep 1874–31 Dec 1896" and for "Washington News" data range "7 Nov 1929–15 Apr 1948". Data saved successfully. You can check on the both sides backend and frontend.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Hi, Milan,
Sorry - didn't make myself clear.
Was trying to enter the following two lines into the Date Range Cell for the Delavan Times:
5 Sep 1874–31 Dec 1896
7 Nov 1929–15 Apr 1948
I was also trying to enter a date range (which I didn't mention in my original post) for Washington Times :
16 Dec 1886–29 Nov 1894
2 Jan 1896–20 Aug 1914
Both of these accepted the values when entering from the Add or Edit Entry popup boxes - but after applying the changes by pushing the Apply/OK button (no errors reported), the cells remain empty.
Thanks,
Mike
Hi tcghs,
We fix that issue, you can check on the table. Now you can use multi-line edit just fine.
Sorry for any inconvenience and thank you for your patience.
Best regards
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Milan
Thanks for your fast Response!
Mike
Hi tcghs,
You are welcome. Glad that we solved the issue.
If you have any more issues feel free to open a new ticket, we will gladly help.
We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
I'm having the same problem. Inputs into a multi-line field are not saved if the input is more than one line. Can you describe how the issue was solved, please?
Thank you,
FPS
Not sure what Milan did - I gave him admin credentials so I assume they logged in and made some kind of changes to the plugin directly on my system. I would assume the change would come out permanently in a future update.
But, Milan would have to confirm that.
Mike Dickson
Thanks, Mike. From reading the thread, I thought Milan must have made the correction himself. But the problem is obviously affecting other people (like me). Some of them probably just haven't noticed it yet. So it would be helpful if he shared information on how to correct the problem.
Milan, please post the solution where others can find it. Thank you.
FPS
Hi FPS and Mike,
I check on your website and multi edit is working fine. When you try to insert data in that field you should use "Enter" key for new line. When you edit that cell and insert text without Enter, wpdatatables don't know how long do you want to be first line of that cell and that is the reason if is all text show up in one line.
Can you please tell me on which table do you notice this?
Yes a have to modify some code in plugin to make this work.
In file wp-content/plugins/wpdatatables/source/class.wdttools.php
and around line 710 you can find this code
and we commented it so the code look like this
This will be fixed in next major update.
Best regards
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
That fixed it perfectly. I'm able to copy/paste multiple lines of text now. Thank you so much, Milan!
FPS
Hi FPS,
You are welcome. Glad that we help.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Thank you for this information! I've been having the same multi-line edit problem. After installing V2.1 yesterday, I had hoped that the multi-line edit problem would have been resolved....it hasn't. Fortunately, I stumbled upon your solution and it works like a gem. I've bookmarked this code edit for future use.
Hi Michael,
Sorry for late response.
We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.
You are welcome.
This is working if you have new versions of libxml.
Can you please go to your php.info file and check the version of libxml that you are using, it might be the issue with the version that you use.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables