• Resolved takemakestudios

    (@takemakestudios)


    Good morning. First of all we want to thank you for your very useful plugin, you have solved a big problem for us.
    We want to inform you of two bugs we have encountered that we would like you to fix as soon as possible.

    1. SSL. We load an excel file by pressing the BROWSE key and insert the address in “Input file path or URL”. When we save an error message it says the file does not exist. We spent several hours and uploads (even via FTP, even in folders other than the default uploads folder) and in the end we realized that the table was loaded only if we remove the S of HTTPS in the address.

    2. Responsive on Mobile devices. If the table is wider than the header of the website, instead of proposing a side scroll bar inside the table, the side scrolling of the website is activated and both the header and the footer of the website remain smaller than the table

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hi takemakestudios,

    You are welcome. We are glad that our plugin was helpful for your needs.

    Thank you for sharing this with us.

    1) For this functionality we are using WordPress built-in function wp_upload_dir which is returning:

    'path'
    (string) Base directory and subdirectory or full path to upload directory.
    'url'
    (string) Base URL and subdirectory or absolute URL to upload directory.
    'subdir'
    (string) Subdirectory if uploads use year/month folders option is on.
    'basedir'
    (string) Path without subdir.
    'baseurl'
    (string) URL path without subdir.
    'error'
    (string|false) False or error message.

    What we are doing is to replace ‘baseurl’ with ‘basedir’ in url of that file which you chose from browse.
    For your case, we assume that you switch redirecting to SSL, but WordPress Address (URL) and Site Address (URL) options from General settings of WordPress are still on http. Can you confirm that?
    If that is true we will find some solution for those cases.
    If that is not true then we will need to investigate this on your server to check out what is going on.
    If you are interested let us know so we can provide you instructions on how to provide us access to your website, because providing that information here is not recommended because of security reasons.

    2) For those cases in Lite version you have options Limit table width and Scrollable for data tables. For a Simple table beside those options, you have Responsive mode as well.

    Best regards.

    Thread Starter takemakestudios

    (@takemakestudios)

    Thank you for your quick answer.

    1. In general the option wordpress address (URL) and site address (URL) are both https, we are using the ONE CLICK SSL plugin and it is correctly active. However, accessing PHPMYADMIN I see that in wp_option site url and home are both HTTP and not HTTPS, can this be the problem?

    2. I found the “show a horizontal scrollbar” setting, it was what we needed, thanks. By enabling this option the table is no longer full width but boxed while the search and save options remain full width. It is not a problem if the table is boxed (in fact, I prefer it) but is there a way to correct the options and make sure that they are aligned with the edges of the table?

    As it appears now:
    https://connexta.it/wrong.png

    How it should be:
    https://connexta.it/corrected.jpg

    Plugin Author wpDataTables

    (@wpdatatables)

    Hi takemakestudios,

    1) Yes that function behind the scenes grab values from database over functions
    get_option( 'siteurl' )
    You can check with that plugin why those values are not updated as well.

    2) You can use this CSS that you will insert in Custom CSS on CUSTOM CSS AND JS tab in table settings

    @media (min-width:1024px) { 
        .wpDataTablesWrapper .scroll[data-wpdatatable_id='1']{
            width: 100% !important;
        }
    }

    Note: You will replace this id with the id of your table, and also if you need for tablets as well you can insert a lower value than 1024 in min-width

    Best regards.

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

The topic ‘Plugin Issue: SSL error and responsive bug on mobile’ is closed to new replies.