Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, there’s nothing that I can do about those wrong characters. The PDF is generated by the DataTables TableTools JS code, but as I’m not the developer of that, I can not really help with this, sorry. This is likely due to issues in the Flash/PDF generation. You might have to check at https://www.datatables.net/
    I will release an updated version of the Extension soon, and that could maybe fix it, but I can’t promise it. Sorry.

    Regarding the buttons: Please try commenting out the CSS as mentioned here: https://www.ads-software.com/support/topic/change-tabletools-icons?replies=7#post-6095013

    Regards,
    Tobias

    Thread Starter sasavidakovic

    (@sasavidakovic)

    Hi

    tnx for quick response. Considering font problem, will wait until new release or in the mean wile contact main developers in the datatables site.

    Considering icons, I have put CSS in the custom css field and its working. Tnx for that. Can it bee without icons? Only text?

    https://dev-kol.fizika.unios.hr/studij/popis-predmeta-i-nastavnika-psf/

    Sasa

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    that sounds good.

    Yes, it can be just text. For that, you’ll need to make a change in the PHP file, as you mention above then also in the CSS, which is described in the link I posted.

    Regards,
    Tobias

    Thread Starter sasavidakovic

    (@sasavidakovic)

    Hy

    I have commented this lines
    in files tablepress-datatables-tabletools.php

    // with text (somme CSS needs to commented out!):
    $tabletools_options = ‘{ “sSwfPath”: “‘ . $swf_path . ‘”, “aButtons”: [ “copy”, “print”, { “sExtends”: “collection”, “sButtonText”: “Save”, “aButtons”: [ “csv”, “xls”, “pdf” ] } ] }’;

    // with images:
    // $tabletools_options = ‘{ “sSwfPath”: “‘ . $swf_path . ‘”, “aButtons”: [ { “sExtends”: “copy”, “sButtonText”: “” }, { “sExtends”: “csv”, “sButtonText”: “” }, { “sExtends”: “xls”, “sButtonText”: “” }, { “sExtends”: “pdf”, “sButtonText”: “” }, { “sExtends”: “print”, “sButtonText”: “” } ] }’;

    and commented this lines in TableTools.css (lines from 154 – 167)

    As a result I still have image for button background (pdf, printer, etc)

    Also one more thing, can the buttons be inline (all of them), without option save, just like

    COPY, CSV, EXCEL, PDF and PRINT

    Tnx in advance

    Sasa

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    as mentioned in that link, you must also re-minify the TableTools.min.css file with the content from TableTools.css.

    Also, you are using the TableTools+FixedHeader Extension at the same time. That will not work, as that adds the image CSS again.

    And what do you mean with “be inline”?

    Regards,
    Tobias

    Thread Starter sasavidakovic

    (@sasavidakovic)

    Hy Tobias,

    will do. From beginning again. Maybe its just my mistake in some steps.

    “BE INLINE”
    I have set the code to fit my layout. You can see it in my demo page, first table
    https://dev-kol.fizika.unios.hr/studij/popis-predmeta-i-nastavnika-psf/

    I just want that button looks like on the original script page
    https://www.datatables.net/extensions/tabletools/

    Will post here update from new try (“also re-minify the TableTools.min.css file with the content from TableTools.css”)

    Tnx Tobias again for every quick response
    Sasa

    Thread Starter sasavidakovic

    (@sasavidakovic)

    Its working. Tnx Tobias. Just HR character set in PDF print

    Sasa

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! Good to hear that you got this to work!

    Best wishes,
    Tobias

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘TablePress, Croatian font error, pdf print’ is closed to new replies.