• Resolved Sam Schouten

    (@sam-schouten)


    I installed the add-on and changed the shortcode.
    1. The five icons have popped up, but they are hardly legible.
    Could it be that their 0.3 opacity background shines through?
    2. Is it possible to change the font-size of the print-output?
    3. Is it possible to have only the printoption and hide the other four?
    I hope you can give me a pointer,
    Thanks
    Som

    https://wordpress.org/plugins/tablepress/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    1. That could be possible. 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!

    2. I don’t think that this is possible, but as I’m not the developer of the TableTool JS code, I can’t give a definite answer here 🙁 You might want to check the DataTables TableTools website at http://legacy.datatables.net/extras/tabletools/

    3. Yes, that’s possible but will require a small code modification. In the file “tablepress-datatables-tabletools.php”, line 60 needs to be changed to

    $tabletools_options = '{ "sSwfPath": "' . $swf_path . '", "aButtons": [ { "sExtends": "print", "sButtonText": "" } ] }';

    Regards,
    Tobias

    Thread Starter Sam Schouten

    (@sam-schouten)

    Thanks Tobias,
    I’ll get to work on that.
    I forgot to tell that I am working on WAMP localhost.
    With firebug I extracted the following HTML if that helps:
    <embed width=”36″ height=”34″ align=”middle” wmode=”transparent” flashvars=”id=1&width=36&height=34″ pluginspage=”http://www.macromedia.com/go/getflashplayer&#8221; type=”application/x-shockwave-flash” allowfullscreen=”false” allowscriptaccess=”always” name=”ZeroClipboard_TableToolsMovie_1″ bgcolor=”#ffffff” quality=”best” menu=”false” loop=”false” src=”http://localhost/supersam/wp-content/plugins/tablepress-datatables-tabletools/swf/copy_csv_xls_pdf.swf&#8221; id=”ZeroClipboard_TableToolsMovie_1″>
    Thanks for your quick advise.
    Sam

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Sam,

    yes, that’s the Flash object for the TableTools that it needs for the “Copy to Clipboard” function. I don’t see how that affects the styling though, sorry.
    You might want to try to simply override the opacity value with some new CSS code.

    Regards,
    Tobias

    Thread Starter Sam Schouten

    (@sam-schouten)

    Thanks Tobias,
    I am working with a Child Theme so I think I can manage a bit of CSS manipulation.
    Thanks again,
    Sam

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!
    Instead of putting the CSS into the child theme, you could also use the “Custom CSS” textarea in TablePress.

    Best wishes,
    Tobias

    Hi Tobias,

    I changed it also so I had only the print icon left. Is there a way to translate the displayed icon title (“View Print View”), and the popup text which appears on the page after clicking the icon? And is it possible that the popup appears for a LONGER time period before it disappears?

    Albert

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    From what I can see, you’ll have to change those strings directly in the TableTools.min.js file, as there doesn’t seem to be a direct option in the TableTools script.

    Regards,
    Tobias

    Hi Tobias,

    is there also a way to make the popup to appear longer?

    Albert

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Albert,

    I don’t think so, as that’s coming from the browser and not the script. Sorry.

    Regards,
    Tobias

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

The topic ‘TablePress-dataTables-tabletools’ is closed to new replies.