TableTools in symfony

TableTools in symfony

francofranco Posts: 4Questions: 0Answers: 0
edited May 2012 in TableTools
Hi everyone,
I would ike to use tt in a symfony project, but all buttons exept print are not cliccable. I think the swf path is correct, my swf file is in web/cpDataTablesPlugin/extras/TableTools/swf/copy_csv_xls_pdf.swf and I set the path this way:

[code] "oTableTools": {
"sSwfPath": "/cpDataTablesPlugin/extras/TableTools/swf/copy_csv_xls_pdf.swf"
}, [/code]

Can someone gives me a hint?
Thanks for help
Franco

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    1. What does the Firebug / Inspecotr console say?
    2. What does your server's error log say?
    3. Can you give us a link please? :-)

    Allan
  • francofranco Posts: 4Questions: 0Answers: 0
    Sorry Allan, i'm a newbie.

    firebug say "NetworkError: 404 Not Found - http://localhost:8183/cpDataTablesPlugin/extras/TableTools/swf/copy_csv_xls_pdf.swf"

    as you can see i'm on localhost, i can't give you a link. symfony use url rewrite, do you think that's the point?

    sorry for my bed english

    thank you
    franco
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I couldn't honestly say if the url rewriting is the problem, since I don't know symfony - however I would suggest probably not, since it is able to load the Javascript files. I would suggest that the problem is probably that the SWF file simply isn't at that path on your server.

    Allan
This discussion has been closed.