• Resolved planeo8

    (@planeo8)


    TABLEPRESS – The Datatable Button Extension does not seem to be working. The Extension is activated.

    I entered [table id=5 datatables_buttons=”print” /] on the page where the table is. The table with data displays…but, the “Print” button does not show.

    Please help.

    Thanks.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter planeo8

    (@planeo8)

    The link for the page is https://forum.bcyc.org/sandbox/

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks! Can you please extend the Shortcode on that page by adding another parameter:
    shortcode_debug=true
    After that, you should see a list of settings below the table. Can you please post those here then?

    Regards,
    Tobias

    Thread Starter planeo8

    (@planeo8)

    I’m not exactly sure where to add the code you sent.

    Please send the entire string and I’ll edit the page as you request.

    Currently is: [table id=5 datatables_buttons=”print” /]

    Thanks.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    that’s the one I mean:

    [table id=5 datatables_buttons="print" shortcode_debug=true /]
    

    Regards,
    Tobias

    Thread Starter planeo8

    (@planeo8)

    OK…the added code is now there.

    Thanks for the excellent support…very fast!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok, can you post what you see below the table? (I can’t see it, because it’s only visible for logged-in users.)

    Regards,
    Tobias

    Thread Starter planeo8

    (@planeo8)

    array (
    ‘id’ => ‘5’,
    ‘column_widths’ => ”,
    ‘alternating_row_colors’ => true,
    ‘row_hover’ => true,
    ‘table_head’ => true,
    ‘table_foot’ => false,
    ‘first_column_th’ => false,
    ‘print_name’ => false,
    ‘print_name_position’ => ‘above’,
    ‘print_description’ => false,
    ‘print_description_position’ => ‘below’,
    ‘cache_table_output’ => true,
    ‘convert_line_breaks’ => true,
    ‘extra_css_classes’ => ”,
    ‘use_datatables’ => false,
    ‘datatables_sort’ => true,
    ‘datatables_paginate’ => true,
    ‘datatables_paginate_entries’ => 10,
    ‘datatables_lengthchange’ => true,
    ‘datatables_filter’ => true,
    ‘datatables_info’ => true,
    ‘datatables_scrollx’ => false,
    ‘datatables_scrolly’ => false,
    ‘datatables_custom_commands’ => ”,
    ‘datatables_locale’ => ‘en_US’,
    ‘show_rows’ => ”,
    ‘show_columns’ => ”,
    ‘hide_rows’ => ”,
    ‘hide_columns’ => ”,
    ‘cellspacing’ => false,
    ‘cellpadding’ => false,
    ‘border’ => false,
    ‘shortcode_debug’ => true,
    ‘datatables_buttons’ => ‘"print"’,
    ‘datatables_buttons_technique’ => ‘flash,html5’,
    ‘html_id’ => ‘tablepress-5’,
    ‘edit_table_url’ => ‘https://forum.bcyc.org/wp-admin/admin.php?page=tablepress&action=edit&table_id=5’,
    )

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok, I have a feeling that the quotation marks for the other parameter are somehow wrong.

    Can you please try copy/pasting the command exactly like this again:

    [table id=5 datatables_buttons="print" /]
    

    Also, please do this in the “Text” and not the “Visual” editor of the “Edit” screen of the page.

    Regards,
    Tobias

    Thread Starter planeo8

    (@planeo8)

    This did not help either.

    Does the “Use Datatables JavaScript Library checkbox need to be checked? I unchecked it because I did not want the features listed below it.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, please try checking that checkbox then. You can uncheck the individual features that you don’t want.

    Regards,
    Tobias

    Thread Starter planeo8

    (@planeo8)

    Success…so it appears the box must be checked.

    Thanks…

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    nice! Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘TablePress “Print” button’ is closed to new replies.