Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add URL support for file / image / video field type #84

Open
nicdford opened this issue Aug 8, 2018 · 2 comments
Open

Add URL support for file / image / video field type #84

nicdford opened this issue Aug 8, 2018 · 2 comments
Assignees

Comments

@nicdford
Copy link
Contributor

nicdford commented Aug 8, 2018

Issue Overview

Currently, from what I can tell, only the website/url field is supported when trying to create a connection between a BB url field and a field in pods that returns a url.

Expected Behavior

It would be nice to pull a file URL, for example, from the file upload field when you go to connect something to a BB URL in a module. In my case, created a "download this pdf now" button.

Current Behavior

Currently, the workaround is to use Pods magic tags which allows you to enter any field in pods as a connection.

Possible Solution

Add support for file / image / video field type that may return a URL. I was thinking there might be other fields that this same treatment could benefit, but now looking at the differnet field types, I think this is the only other use-case I can think of for needing this treatment.

Steps to Reproduce (for bugs)

  1. Create file / image / video field in pods
  2. Go to connect a URL field in a BB module to this field in pods
@nicdford nicdford changed the title Add URL support for other field types Add URL support for file / image / video field type Aug 8, 2018
@jimtrue
Copy link
Contributor

jimtrue commented Aug 8, 2018

Isn't this a problem with our existing File/Upload/Image fields in Pods? We don't allow creation from URL, either.

@quasel
Copy link
Member

quasel commented Aug 8, 2018

it's about the output - into field connections that allow only urls - I could add all "file" types to field connection as a URL Output ... e.g the ACF integration allows you to enter field name + output type

Would remove the need to use the magic tag option! file_type_field._src

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants