I still opened this question but my license was expired.
I have a table in which I set the relation foreign key with a food database that contains at least 5000 records. When I open add modal to insert a food in my table, it open all 5000 records ordered from A to Z. It is slow process and difficult to find a specific food because you have to scroll down all the food list.
For this reason, I want to add a searchbox. Your previous suggestion was:
"
If you need it in edit modal then you have to change code in file
wp-content/plugins/wpdatatables/templates/frontend/edit_dialog.inc.php around line 71you will find
<?php if ($dataColumn->getPossibleValuesAjax() !== -1) { ?>data-live-search="true" data-live-search-placeholder="Search..."<?php } ?>
You have to do one more thing to turn off option Use minified wpDataTables Javascript on CUSTOM JS and CSS tab in settings of plugin, because on front end are used minified files and you were changing original files in core. Like this when you turn it off will be included original files and selecbox in edit modal will work on front. "
But I can't find the code you mentioned around line 71. I can't find it in all edit_dialog.inc.php file. Also if I use search function, I can't find it.
Hi,
I still opened this question but my license was expired.
I have a table in which I set the relation foreign key with a food database that contains at least 5000 records. When I open add modal to insert a food in my table, it open all 5000 records ordered from A to Z. It is slow process and difficult to find a specific food because you have to scroll down all the food list.
For this reason, I want to add a searchbox. Your previous suggestion was:
"
If you need it in edit modal then you have to change code in file
wp-content/plugins/wpdatatables/templates/frontend/edit_dialog.inc.php around line 71you will find
and you have to replace it with this
You have to do one more thing to turn off option Use minified wpDataTables Javascript on CUSTOM JS and CSS tab in settings of plugin, because on front end are used minified files and you were changing original files in core. Like this when you turn it off will be included original files and selecbox in edit modal will work on front. "
But I can't find the code you mentioned around line 71. I can't find it in all edit_dialog.inc.php file. Also if I use search function, I can't find it.
How can I solve it?
thanks
Pasquale
Hi Pasquale,
Thank you for your purchase.
Can you please point me to the ticket where one of our agents suggested this code so I can take a look.
Also please tell me which version of our plugin do you use.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Bogdan,
The ticket was:
https://tmsplugins.ticksy.com/ticket/1722176/
The plugin version is 2.1
Regards
Pasquale
HI Pasquale,
It is because you are using the 2.1 version.
Can you please update the plugin to 2.3.2. and then change the code.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
thank Bogdan. I replaced it and now it works good :)
HI Pasquale,
Glad to hear that.
You are welcome.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables