Support » Plugin: TablePress » Shortcode Functionalities

  • Resolved gmasterpos

    (@gmasterpos)


    hello
    i was going through some of your plugin documentations and i found some very interesting but i will like to ask some questions and they are

    1. how can i use all this shortcodes for one table if i need all the functions in just one table i created
    [table id=123 responsive=flip responsive_breakpoint=device /]
    [table id=123 datatables_buttons=”colvis,copy,csv,excel,pdf,print” /]
    [table id=123 datatables_fixedheader=top /]
    [table id=123 datatables_fixedcolumns_left_columns=1 datatables_fixedcolumns_right_columns=0 /]

    how am i suppose to combine them to work for one table that i created
    i will also like to donate ones i am clear with some questions regarding Tablepress
    thanks

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Normally, you can just put all the Shortcode parameters in one Shortcode. However, the problem in this case is that you simply can not use all of them together because they are not compatible. For example, is not possible to use the FixedHeader and FixedColumns together, and these don’t make sense with the flip mode.

    Regards,
    Tobias

    Thread Starter gmasterpos

    (@gmasterpos)

    Thanks for your reply i appreciate

    please i will like you to set an example for me with the following for it to all be in one shortcode please

    [table id=123 responsive=flip responsive_breakpoint=device /]
    [table id=123 datatables_buttons=”colvis,copy,csv,excel,pdf,print” /]
    [table id=123 datatables_fixedheader=top /]

    Thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    as said above, the flip mode does not really work with the FixedHeader, but these would work:

    1)

    [table id=123 responsive=flip responsive_breakpoint=phone datatables_buttons="colvis,copy,csv,excel,pdf,print" /]
    

    (Note how I replaced the word “device” with “phone”, as per the documentation of the Responsive Tables Extension.)

    2)
    You can also use FixedHeader and Buttons together:

    [table id=123 datatables_fixedheader=top datatables_buttons="colvis,copy,csv,excel,pdf,print" /]
    

    However, as these modify the same code internally, another step is necessary for these two. Please add this to the “Custom Commands” textarea on the “Edit” screen of the table:

    "dom": "BWlfrtip"
    

    Regards,
    Tobias

    Thread Starter gmasterpos

    (@gmasterpos)

    Thanks i really appreciate

    another issue that i was trying to solve but i could not by using auto periodic table import
    i tried and tried to import a table from my site but i never got it right i dont know why i was using url and file on server trying to import my transaction table from my website to my table but i didnot get a result i dont know where i got it wrong

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    for the automatic import: Does the same file (URL or from server) work with the manual import?

    Regards,
    Tobias

    Thread Starter gmasterpos

    (@gmasterpos)

    hello

    No i didnot use it with manual import

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    then try that first, please. If the manual import works, we can try to find out what’s wrong with the automatic import.

    Regards,
    Tobias

    Thread Starter gmasterpos

    (@gmasterpos)

    hello

    Thanks for the support
    1. i tried to use manual import and it worked but the issue is that its a transaction table i have and i will like the table to always update when the transaction update so i dont know how to do that
    the best is to import from file on server or url but i dont know why its not working is it possible i sent you my login details to help me check the problem?
    2. also how does the shortcode works if i have a shortcode for my transaction table how can i use it to display transaction details in tablepress
    thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    1. Ok, if the manual import works, it should be possible to make the periodic import work as well. Note that this requires the WordPress Cron mechanism, so that it might be a good idea to use a server cron job, e.g. via https://www.siteground.com/tutorials/wordpress/real-cron-job/ (the exact configuration depends on your web host company).

    2. I don’t understand. The Shortcode can only show the exact table data as it was imported.

    Regards,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Shortcode Functionalities’ is closed to new replies.