Hey there, Awesome Customers!

Just a heads up: We'll be taking a breather to celebrate International Workers' Day (May 1st and 2nd - Wednesday and Thursday) and Orthodox Easter from Good Friday (May 3rd) through Easter Monday (May 6th). So, from May 1st to May 6th, our team will be off enjoying some well-deserved downtime.

During this time, our customer support will be running on a smaller crew, but don't worry! We'll still be around to help with any urgent matters, though it might take us a bit longer than usual to get back to you.

We'll be back in action at full throttle on May 7th (Tuesday), ready to tackle your questions and requests with gusto!

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find loads of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel). These gems might just have the answers you're looking for while we're kicking back.

Thanks a bunch for your understanding and support!

Catch you on the flip side!

Warm regards,

TMS

Okay
  Public Ticket #3496280
Activate "duplicate" button
Open

Comments

  • Antonino started the conversation

    hi,

    Simple question:

    On activate a "duplicate" button

    How come I see the submit button?

    If I use it it the row can be modify

    It would be more correct if I use the duplicate button, I could use "apply and Duplicate" or "Duplicate" buttpn

    See the picture


    Thanks in advance


    Attached files:  Firefox_Screenshot_2023-10-11T12-51-53.409Z.png

  •  1,692
    Miloš replied

    Hi Antonino,

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    Our management and the developers agreed that the buttons should be named like that.

    For example, if you hit "Apply and duplicate" on any row,

    it leaves the Editing Modal open so then you can keep hitting that button to quickly add more duplicates.

    -

    Or if you hit "Submit", in that case it just makes one duplicate of that row but it closes the Editing Modal and stops the action.

    You can see more details explained behind that logic here : https://wpdatatables.com/documentation/front-end-editing/creating-editable-tables/.


    If you have an idea how this can be improved, you can make a development suggestion.

    Please feel free to search on our suggestions page

     to see if someone may be already suggested this feature. If you can't see it, feel free to add your suggestion there,  and as more people vote, the feature will move higher on the priority list.

    You can certainly follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;

    and our newsletter, so you're informed about new features, bug fixes, freebies, etc.

    -


    Or, if you just wish to simply edit the label of that Button, you can easily use any translation Plugin and just change it for your use-case.


    The plugin can be translated using POEDIT or Loco Translate easily. 

    I suggest installing Loco Translate since it's within WordPress and it has a simple UI,

    you can simply "search and replace" any strings you need.

    First, please check if the language you need is already one of our existing language folders in the Plugin

    or if you need to add a new folder there.

    You can use FTP or your Hosting File manager and go to this path :

    ../wp-content/plugins/wpdatatables/languages

    Check if your language locale is there.  For example for Italian, folder should be named as 'it_IT'.

    You can check the full list of all WordPress Locale proper folder and file names here.

    -

    If you can't see your language folder, then you need to add a new folder and name it appropriately for the WP locale.

    -

    Here is an example of how i add a new language in Loco Translate, let's say for Spanish ( locale es_ES) :

    First, we add a new folder in the FTP path in the plugin languages files in this path :

    ../wp-content/plugins/wpdatatables/languages

    For Spanish ( Spain) , i add es_ES folder :

    8876575366.png

    then you can take the "default translations" from English, from en_US folder, copy the 'wpdatatables-en_US.mo' and 'wpdatatables-en_US.po' files and paste them in the new es_ES folder.

    Then load Loco translate in your WordPress, choose wpDataTables / Spanish language, 

    search any strings you wish to edit, and translate them as needed.

    I hope that helps.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  • Antonino replied

    HI,
    No problem. For Delay

    The problem is not the translation. Try to verify. If I use the "submit" button it doesn't duplicate the line and then exits, but it modifies the line I wanted to duplicate.

    Maybe because I use "Server-side processing"?


    Thank you in advance for your patience

  • Antonino replied

    I have make a simple test.

    If create a table "Create a data table manually" the duplicate fuction work ok ("apply and duplicate" or"OK" button), but if i create a table from "Generate a query to the MySQL database" the "apply and duplicate" button wok fine and "OK" button modify the select one.

    I hope this helps


  •  1,692
    Miloš replied

    Hi Antonino,

    Once again my apologies for all the waiting time.

    I did my best to try and do tests according to what you described, and i am not able to understand what you mean.

    1. When it comes to a difference between server-side and non server-side, it is absolutely the same.

    It is because, in order to have Editing - you need to enable server-side.

    If you disable server-side, then it's not possible to Edit Manual or SQL tables.

    -

    Just for Manual Tables we can not toggle it, but on SQL Tables you can disable server-side, which automatically also disables editing.

    I recorded a Video where i did my last testing today and everything seems perfect in my opinion.

    For example, if i take an existing row, click "duplicate" we got those offers, if you wish to edit it or just simply duplicate the row and keep going.

    As long as you keep hitting 'Apply and Duplicate" , if you edited the row or not - the Table just keeps adding a new row exactly the same as duplicate;

    Then you can edit any of the rows along the way - and when you're finished, hit "Submit" then the action stops and the modal closes.

    7922610204.png


    You can download my Video here.  https://we.tl/t-WeYtTSAR1I

    Let me know if anything is not clear, if you can still see any issue let me know, but please try to elaborate more to clarify what would be your preferred improvement to our existing logic, how the duplication should work compared to what it is now.

    Thank you.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  • Antonino replied

    hi Miloš ,

    i see the video, and it work ok.

    but on my config the problem persist

    try to see attached video

    above the configuration on server:

    WordPress Environment












    WP Multisite: No
    PHP Memory Limit: 512 MB
    WP Debug Mode: Inactive
    Language:

    7.4.3-4ubuntu2.19 5.5.5

    Server Environment
    Operating System:
    Server Info:
    PHP Version:
    PHP Post Max Size:
    PHP Time Limit: 3000
    MySQL Version:
    Max Upload Size:
    Multibyte String: Installed
    XML extension: Installed
    DOM extension: Installed
    Libxml extension: Installed - Version: 2.9.10
    PDO extension: Installed - PDO Drivers: mysql
    Zip extension: Installed
    Curl extension: Installed - Version: 7.68.0

    3.4.3

    Theme
    Name:
    Version:
    Author:
    Author URL:

    All-in-One WP Migration by ServMask – 7.73 Duplica pagina by mndpsingh287 – 4.5.1 Elementor by Elementor.com – 3.12.1 Font Awesome by Font Awesome – 4.3.2 Ocean Extra by OceanWP – 2.1.5 Smart Slider 3 by Nextend – 3.5.1.14 Powerful Filters for wpDataTables by TMS-Plugins – 1.4.3 wpDataTables by TMS-Plugins – 5.8.2

    Active Plugins (8)



    Attached files:  2023-10-27 11-20-51.mkv

  •   Miloš replied privately
  •   Antonino replied privately
  •   Miloš replied privately
  •   Antonino replied privately
  •   Miloš replied privately
  •   Antonino replied privately
  •   Miloš replied privately
  •   Antonino replied privately
  •   Miloš replied privately
  •   Antonino replied privately
  •   Antonino replied privately
  •   Miloš replied privately
  •   Antonino replied privately
  •  1,692
    Miloš replied

    Hi Antonino,

    You're welcome. Thank you again for your patience and for pointing us to the right details so that we can isolate the different behaviour of the duplicate row functionality for the action of "submit/ok" between Manual and SQL Query Tables.

    We are still going through all the details/logic and to confirm what our developers initially intended to be the 'default' behaviour and doing more tests with the QA Team.

    We will update you as soon as possible and to confirm if we plan to change/improve how it functions for the SQL Query tables.

    Thanks again.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  1,692
    Miloš replied

    Hi Antonino,

    Just wanted to let you know we are still testing how the intended logic for this use-case is meant to be, in regards to the row duplication;

    we should be able to provide you with an update very soon.

    Thanks again for all your patience.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  • Antonino replied

    OK,
    grazie in anticipo

  •  1,692
    Miloš replied

    Hi Antonino,

    I just want to follow up to keep the ticket alive.

    After further tests, at the moment we are not able to change how the duplication of rows works for the SQL Query Tables specifically.

    As we saw - and as you pointed out, the Manual Tables behave in a way suitable for your desired use-case, while the SQL Query tables work differently.


    Right now we can not change this behaviour, but our developers will inspect everything and we will do our best to make improvements on this functionality.


    For the time being, you would have to use Manual Tables in order to have the duplication working as intended for your scenario.

    If we make an improvement/change on how the duplicated rows work on SQL Query tables, we will make a note on that in one of our future Updates.

    If you have an idea what you would like us to change; what would be the best improvement you would like to see;

    Please feel free to search on our suggestions page

     to see if someone may be already suggested this feature. If you can't see it, feel free to add your suggestion there,  and as more people vote, the feature will move higher on the priority list.

    You can certainly follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;

    and our newsletter, so you're informed about new features, bug fixes, freebies, etc.


    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  • Antonino replied

    Hi Milo,

    I understand it's complicated to fix, but why did I need to add a "suggested feature" if this is a bug?

    Wouldn't it be better to deactivate the "apply" button and make it invisible if you use existing sql tables?
    Just waiting for a definitive solution.

    Just my opinion

  •  1,692
    Miloš replied

    Hi Antonino,

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.


    Thank you for this feedback.

    I will check again with our Team, it seems to me you have a valid point.

    We will do our best to perhaps either just treat this as a fix needed if that might be a better solution as you said.

    We will check again and I will report back to confirm it for you, how it will be treated as a task.

    Thank you again for your patience.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •   Miloš replied privately
  • Antonino replied

    Hi, Miloš ,

    Any news?

  •   Miloš replied privately
  •   Miloš replied privately