Visual Form Builder
[resolved] File upload URL not hyperlinked (2 posts)

  1. Tom Auger
    Posted 3 years ago #

    Another interesting quirk I discovered in the Entries Detail view - when dealing with a file upload, the link to the file is not hyperlinked. Not a big deal, right - you can just select, copy and paste the URL into the navbar. Well. You and I can do that in our sleep, but your average plugin user who is not a coder might find that a challenge. Besides, it's barely any extra work for you to wrap that URL in a hyperlink, right?

    Is there a reason you decided not to do this that I'm not thinking of?


  2. Matthew Muro
    Plugin Author

    Posted 3 years ago #

    It should be linked for you.

    Here is the relevant code:
    $body .= '<tr><td><strong>' . stripslashes( $field->field_name ) . ': </strong></td><td><a href="' . $uploaded_file['url'] . '">' . $uploaded_file['url'] . '</a></td></tr>' . "\n";

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Visual Form Builder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic