• Resolved Juan Hernando

    (@unintended8)


    Hi Michael, first of all, thanks for this awesome plugin.

    I have a doubt. When viewing a form database in the plugin backend (no shortcodes), if I click in the submit_time of a row, I go to a new page with all the data of that row. The thing is that the file uploaded cell only contains the name of the file, not the URL (so it’s not clickable), as it does when viewing the whole database. Is it possible to add the URL to that field instead of just the name?

    Thanks!

    https://wordpress.org/plugins/contact-form-7-to-database-extension/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    Yes, that is an oversight. I’ll fix that.

    Thread Starter Juan Hernando

    (@unintended8)

    Thanks Michael! I’ve tried to fix it myself because I need it for a project, but I haven’t found how to do it. Will you publish a new version fixing it or could you share with me which exact files should I modify and how? Thanks again for your time!

    I also would like to know the fix. I will follow this post.
    @juan, please let us know here if you have found the fix.

    Thanks!

    Plugin Author Michael Simpson

    (@msimpson)

    If you want to quickly fix it yourself, it is a 1-line code change.

    Edit file CF7DBPlugin.php line 1039

    Change:
    $exp->export($form, array('submit_time' => $submitTime));

    To:
    $exp->export($form, array('submit_time' => $submitTime, 'filelinks' => 'link'));

    If you have the editor, clicking on it going into edit mode. So you have to right-click the link in that case to download. I’ll have to figure out what to do about that.

    Thread Starter Juan Hernando

    (@unintended8)

    Thanks Michael! I figured that it was going to be a single change, but I wasn’t sure about where. Now it’s working! Great support 🙂

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

The topic ‘File uploaded URL when viewing a single entry’ is closed to new replies.