Okay
  Public Ticket #2370215
arrows on filtering/color of clear filters
Closed

Comments

  • Jordan started the conversation

    When using the advanced filtering. I have 2 arrows that show, one from the plugin and one from the theme, how do I fix this? 


    Also, the Clear Filters button shows up in white on white background and makes it invisible. 


  •  2,507
    Aleksandar replied

    Hello Jordan

    Thank you for your purchase.

    Please go to wpDataTables main Settings on your wp-admin page. You'll see Include full bootstrap front-end and Include full bootstrap back-end. Disable both sliders, hit Apply and refresh your page.

    5192777348.png

    If this doesn't help, you may want to go to ../wp-content/plugins/wpdatatables/source/class.wdttools.php and comment the line 1006:

    if (!is_admin() && get_option('wdtIncludeBootstrap') == 1) {
                wp_enqueue_script('wdt-bootstrap', WDT_JS_PATH . 'bootstrap/bootstrap.min.js', array('jquery', 'wdt-bootstrap-select'), WDT_CURRENT_VERSION, true);
            } else if (is_admin() && get_option('wdtIncludeBootstrapBackEnd') == 1) {
                wp_enqueue_script('wdt-bootstrap', WDT_JS_PATH . 'bootstrap/bootstrap.min.js', array('jquery', 'wdt-bootstrap-select'), WDT_CURRENT_VERSION, true);
            } else {
    //             wp_enqueue_script('wdt-bootstrap', WDT_JS_PATH . 'bootstrap/noconf.bootstrap.min.js', array('jquery', 'wdt-bootstrap-select'), WDT_CURRENT_VERSION, true);        }
    

    To try and fix the issue with 2 arrows, please go to ../wp-content/plugins/wpdatatables/assets/css/bootstrap/wpdatatables.bootstrap.css around line 4204, and change this:

    .wpdt-c .caret {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 2px;
        vertical-align: middle;
        border-top: 4px dashed;
        border-top: 4px solid \9;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
    }
    

    to this:

    .wpdt-c .caret {
        display: none;
        width: 0;
        height: 0;
        margin-left: 2px;
        vertical-align: middle;
        border-top: 4px dashed;
        border-top: 4px solid \9;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
    }
    

    So, just change the display property to "none". All dropdowns should work, and you should have only one down arrow.

    Please check and let me know if all's good.

    Kind Regards, 

    Aleksandar Vuković
    [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

  •   Jordan replied privately
  •   Aleksandar replied privately
  •   Jordan replied privately
  • Jordan replied

    I also hve other issues:

    1) 2 drop down carets visible

    2) clear filters button is white and not visible on white background

    3) will it allow new entry on Frontend. When you select new entry, it freezes the site

  •  2,507
    Aleksandar replied

    Hello again Jordan.

    I needed to add this CSS to Custom CSS field to get rid of the second arrow, show the "Clear Filters" button, and to align the drop-down entries:

    .dropdown-toggle::after {
    display: none !important;
    }
    button.btn.dropdown-toggle.btn-default {
        margin: 0px !important;
        padding-bottom: 6px !important;
        padding-top: 6px !important;
        padding-left: 0px !important;
    }
    button.button.btn.wdt-clear-filters-button.waves-effect {
        color: inherit !important;
        font-weight: inherit !important;
        margin: inherit !important;
    }
    

    This is all coming from the theme you're using, since it's overwriting wpDataTables styles. This should fix all that.

    As for the new entry - I had no issues with that (see attachment).

    Please feel free to remove the last TEST row I added.

    Kind Regards, 

    Aleksandar Vuković
    [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

  • Jordan replied

    okay perfect!! That fixed it!


    one last thing, I know it’s possible to sort by column a then by column b and so on, using the shift key. One I make this sort by multiple columns, is it possible to save that sort on backend so it loads that way everytime and also loads that way in front end?


    I know you can sort by column on load, but I have multiple tables that have the same data and I want to sort by mutiple columns using a then by b then by f and have it save on both back and front end.



  •  2,507
    Aleksandar replied

    Hi again Jordan

    I'm sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.

    It maybe 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?

    Kind Regards, 

    Aleksandar Vuković
    [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