1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Custom Field Type suggestion

Discussion in 'Showcase Suggestions' started by Ludachris, Feb 2, 2018.

  1. Ludachris

    Ludachris Active Member Article Mgmt System Showcase EA

    I know I've suggested making a file upload field type before, and I know that's a little too complex to implement. But would it be possible to create a field type that allows the user to quickly grab the URL for a file attached to the item?

    I have a single line text field where I ask the member to enter a URL for a photo of a timeslip. I want them to upload that photo as an item attachment. They can upload as an attachment and then reference that attachment URL, but trying to explain how to do that is sounding pretty complicated. It would be WAY better if they could simply choose from a file that is attached and have the field populate with that URL.

    Does that make sense?
     
  2. Bob

    Bob Developer Staff Member

    XF2 versions of my addons use the new Custom Fields handler that is included with the XenForo Framework. This means the available field types come from what ever XenForo decides to include. IIRC, their is a suggestion to add an attachment field type to the Custom Fields handler.

    As for XF1 versions of my addons, they are all in Maintenance Mode only right now (until all XF2 development has been completed). I really doubt that I will ever have time to implement something like this in the XF1 version of Showcase however.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.