Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello,
    yes the dropdownlist is supposed to show the styles to be applied to the tables.
    I’ve just tested v 1.5 that is online and it seems to work well. Can you please check that your css directory in the plugin folder shows a “table” directory with the related css files?
    I cannot reproduce your issue with v 1.5

    Thread Starter Chocolalato

    (@lalato)

    I’ll have to check that tonight when I get home. If the css files are missing, I’ll place them in the directory you noted.

    Any solution?
    I have the same problem. The CSS Class dropdown box of Table is empty.

    My version is 1.5. WP version is 4.0. Thanks

    The tables directory is inside the CSS directory of the plugin. However, the css class is still empty.

    This is weird, I cannot reproduce the issue with the plugin just downloaded.
    Do you have any error message in the JS console?
    What OS is your server running?
    thanks

    As a workaround you can try to copy in the css directory the .css files you have in the tables directory (the parent directory).
    If it works I can get a hint of the origin problem, even if it should work as is.

    I tried to copy the css file from the table directory to the parent css directory. But, no luck.

    I found the error in the JS console.

    wp-admin/admin.php?page=table&action=edit&tb_id=2

    On Line 258 <link rel=”stylesheet” href=”https://mydomain.com/wp-content/plugins/wp-business-intelligence-lite/css/tables/&#8221; type=”text/css” >
    “Failed to load resource: the server responded with a status of 403”

    I am using CentOS with Apache 2.xxx & php 5.5.x I set the plugin directory permission as 777.
    I think it may be caused by the apache’s restriction of directory direct access. So, I have to specify the actual file name on the linked resource.

    Where can I edit the code?
    <link rel=”stylesheet” href=”https://mydomain.com/wp-content/plugins/wp-business-intelligence-lite/css/tables/&#8221; type=”text/css” >

    I might have found the bug…

    A ‘\’ is the guilty character on lines 443 and 676 of file admin/tables/tables.php.
    Please just remove the \ in

    ->get_styles(‘\tables’)

    and you should see the styles.
    I’ll patch the plugin in the meantime.
    Sorry for the mess.
    cheers,
    Claudio

    wow, it work after removed ‘\’.

    Thank you for your quick response.

    This fix is now present in v1.5 as well

    Hi Claudio – I think you might have re-introduced this bug into v1.6. The ‘\tables’ is back…

    Oups….
    the old files slipped into the last SVN commit…
    thanks for your feedback!
    it’s now fixed
    Cheers,
    Claudio

    Thread Starter Chocolalato

    (@lalato)

    Hi Claudio,
    Apologies for not responding until now. I haven’t had a chance to install your fix. As soon as I do I will let you know if there are any other issues.

    Thanks for the fix! ??
    Sam

    Hi Sam,
    thanks for the feedback. Please note that v1.6 is available. It should fix your issue.
    Cheers,
    Claudio

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘CSS Classes’ is closed to new replies.