Okay
  Public Ticket #2840744
Front-End Options
Closed

Comments

  • Sam started the conversation

    Hi, two questions:


    Can I change the label and position of the Global Search bar? Right now, it's separated from the other search bars, so the placement is awkward, and it's unclear that it's a global search because the label just says "Search." It should say "Global Search" or "Search All Fields" or something like that.

    Can I have text that says "please wait" while the table is loading? It's a pretty big table running a complex query so it takes a little while to show up

    8025616589.png
  • [deleted] replied

    Hi Sam

    Thank you for reaching out to us.

    Specific strings can be changed using POEDIT or Loco Translate easily. I suggest installing Loco Translate since it's within WordPress and it has a simple UI.

    If you want to use POEDIT then please follow these instructions:

    1. Download wpdatatables from our TMS Store and save the wpdatatables.zip file on your computer.

    2. Unzip downloaded file.

    3. Download and install POEDIT

    4. After that, open the program and open the file from the extracted folder on your computer wpdatatables/languages/en_US/wpdatatables.po.

    5. Change all the strings you need

    6. Save the file as the plugin suggests (the language code; for example wpdatatables-id_ID.po if your language is Indonesian) and it will generate a new wpdatatables-id_ID.mo file. You can find your language code here

    7. Go to wpdatatables/languages/ folder and create a new folder. Name it as the language code for your language (in our case, for Indonesian, it is id_ID) and then copy these two files called wpdatatables-id_ID.po and wpdatatables-id_ID.mo into it. Proceed with copying the whole folder id_ID back to your website in folder ../wp-content/plugins/wpdatatables/languages/.

    Of course, you will use language code for your language (we use Indonesian language, and its language code "id_ID" is just an example).

    The search bar cannot be modified using the plugin's builtin features, but we dohave a custom CSS example how to center the filter and the search, add this to the page:

    .wpDataTablesWrapper .wpDataTableFilterSection {
    float: none !important;
    margin-left: 300px !important;
    width: 300px !important;
    font-size: 20px !important;
    }
    .wpDataTablesWrapper .dataTables_filter {
    float: none !important;
    margin-right: 300px !important;
    }

    Unfortunately it is not possible to alter the loading screen.

    It probably can be done with some custom work, but our developers are very busy at the moment, working on some priority tasks and fixing bugs and issues with our plugins, so they won't be having the time for custom work in near future.

    But we can recommend these services for customization:

    https://codeable.io/?ref=l1TW1

    https://wpkraken.io/?tms-plugins

    They do develop such solutions, so can you please send your inquiry to them?