Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Peter

    (@peterx3x)

    Thanks ??
    The code

    <exec>
    $ua = browser_info();
    if ($ua['msie']) echo do_shortcode('[table id=2 datatables_paginate=false /]'); else echo do_shortcode('[table id=2 /]');
    </exec>

    is simple enough for me and does the trick!
    Thank you very much!

    Thread Starter Peter

    (@peterx3x)

    Hi,
    I’ve tried different approaches but nothing helps.
    For now I fixed the height to 900 px, so the problem still persists but is not so obvious.
    Alternative solution is not to use pagination for the tables in IE.
    Since I use browser detection script to change the css, I can do this.
    My question is how to asign the needed value (may be “false”) to the apropriate variable?
    I see your code for it here:

    <input type=”checkbox” name=”table[options][datatables_paginate]” id=”table_options_datatables_paginate”<?php echo ( $table[‘options’][‘datatables_paginate’] ) ? ‘ checked=”checked”‘: ” ; ?><?php echo ( !$datatables_enabled || !$table[‘options’][‘use_tablesorter’] || !$table[‘options’][‘first_row_th’] ) ? ‘ disabled=”disabled”‘: ” ; ?> value=”true” /> <label for=”table_options_datatables_paginate”>

    But how to use it in my header.php ?

    Thread Starter Peter

    (@peterx3x)

    Hi,
    I’ve tried different approaches but nothing helps.
    For now I fixed the height to 900 px, so the problem still persists but is not so obvious.
    Alternative solution is not to use pagination for the tables in IE.
    Since I use browser detection script to change the css, I can do this.
    My question is how to asign the needed value (may be “false”) to the apropriate variable?
    I see your code for it here:
    <input type="checkbox" name="table[options][datatables_paginate]" id="table_options_datatables_paginate"<?php echo ( $table['options']['datatables_paginate'] ) ? ' checked="checked"': '' ; ?><?php echo ( !$datatables_enabled || !$table['options']['use_tablesorter'] || !$table['options']['first_row_th'] ) ? ' disabled="disabled"': '' ; ?> value="true" /> <label for="table_options_datatables_paginate">
    But how to use it in my header.php ?

    Thread Starter Peter

    (@peterx3x)

    Hi,
    I’ve tried different approaches but nothing helps.
    For now I fixed the height to 900 px, so the problem still persists but is not so obvious.
    Alternative solution is not to use pagination for the tables in IE.
    Since I use browser detection script to change the css, I can do this.
    My question is how to asign the needed value (may be “false”) to the apropriate variable?
    I see your code for it here:
    <input type="checkbox" name="table[options][datatables_paginate]" id="table_options_datatables_paginate"<?php echo ( $table['options']['datatables_paginate'] ) ? ' checked="checked"': '' ; ?><?php echo ( !$datatables_enabled || !$table['options']['use_tablesorter'] || !$table['options']['first_row_th'] ) ? ' disabled="disabled"': '' ; ?> value="true" /> <label for="table_options_datatables_paginate">
    But how to use it in my header.php ?

    Thread Starter Peter

    (@peterx3x)

    Well, I think I’ve figured out the problem.
    I used Cyrillic characters for the gallery name and it had problems addressing the images.
    I created new gallery with Latin characters. Then the directory name is in Latin and there is no problem. After the directory is created I can successfully change the galery name to Cyrillic.

    Thread Starter Peter

    (@peterx3x)

    I have two other questions now:
    1. When I use pagination and click next button it shows the next 10 or some rows but the position is not top of site. I mean: when the previous or next page button is clicked to take me to the top row of the column (or top of the site; like if I use a top anchor for the link).
    The code of this links is: <div id="wp-table-reloaded-id-1-no-1_paginate" class="dataTables_paginate paging_two_button"><div id="wp-table-reloaded-id-1-no-1_previous" title="Предишна" class="paginate_disabled_previous"></div><div id="wp-table-reloaded-id-1-no-1_next" title="Следваща" class="paginate_enabled_next"></div></div>
    2. I activated the option to search in tables, but how can I show the rows with searched terms in the results?
    https://test.marketing-forge.com/?s=%D0%A3%D0%B7%D1%83%D0%BD%D0%BE%D0%B2%D0%B0
    I have as a match the page containing the table, but I wish to show also the rows containing the term “Узунова”.
    //Don’t pay attention to the styling, because this page is still under construction.

    I guess I should place some code in search.php in my theme, but what exactly?

    Forum: Fixing WordPress
    In reply to: jQuery Conflict
    Thread Starter Peter

    (@peterx3x)

    Problem solved :).
    See the following discussion:
    https://datatables.net/forums/comments.php?DiscussionID=3003&page=1#Comment_12922

    Thanks for your help :)!

    Best wishes,
    Peter

Viewing 8 replies - 1 through 8 (of 8 total)