I just went through that ticket again, and the value appeared after I added two instances of "500" to line 3197 in file ../wp-content/plugins/wpdatatables/source/class.wpdatatable.php :
So, when you do that, you only need to add it to line 498 and in ../wp-content/plugins/wpdatatables/templates/admin/table-settings/table_settings_block.inc.php and around line 338.
The lines actually changed because the plugin was updated since that response.
You may also want to add the value in ../wp-content/plugins/wpdatatables/templates/admin/table-settings/column_settings_panel.inc.php around line 580, if you wish to add that value to possible column options (if you have a select-box filter, or selectbox editor input type, this would be the number of values displayed in those drop-downs).
Please make sure to delete cache in your browser after you apply the changes.
Hi,
I am following these instructions (https://tmsplugins.ticksy.com//ticket/2003364/) to add 500 as an option to the dropdown entries.
Everything works as indicated in the table settings, except that the option I added is not reflected in the Table Preview.
How can I make the 500 entries option appear in the Show table entries dropdown?
I'm missing something? Should I edit another file?
Please help!!
Hello Victor
I just went through that ticket again, and the value appeared after I added two instances of "500" to line 3197 in file ../wp-content/plugins/wpdatatables/source/class.wpdatatable.php :
So, when you do that, you only need to add it to line 498 and in ../wp-content/plugins/wpdatatables/templates/admin/table-settings/table_settings_block.inc.php and around line 338.
The lines actually changed because the plugin was updated since that response.
You may also want to add the value in ../wp-content/plugins/wpdatatables/templates/admin/table-settings/column_settings_panel.inc.php around line 580, if you wish to add that value to possible column options (if you have a select-box filter, or selectbox editor input type, this would be the number of values displayed in those drop-downs).
Please make sure to delete cache in your browser after you apply the changes.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
It worked!
Thank you very much for your help.
You're welcome, Victor
Glad I could help.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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