ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

issues with converting a custom field from TEXT INPUT to FILE type

December 06, 2013 4:04am

Subscribe [1]
  • #1 / Dec 06, 2013 4:04am

    avroo

    164 posts

    We are using a custom field as a thumbnail. Currently the field type is set to TEXT INPUT. This is because of a migration in the past that couldn’t be prevented.

    We now upload the thumbnail via the “file chooser” icon under this field.

    Format that appears in the field after uploading:

    https://ellislab.com/asset/images/ent-partner-logo/image.jpg

    Problem: We really want to set this custom field to fieldtype “FILE”, but when I change it the output in the templates is EMPTY.

    I checked the database and the value is still there:

    +-----------------------------------------------------------------------------------+
    | field_id_23                                                                       |
    +-----------------------------------------------------------------------------------+
    | https://ellislab.com/asset/images/ent-partner-logo/image.jpg |
    +-----------------------------------------------------------------------------------+

    My question is: why isn’t this field shown when type is set to file? I really need to set this field to FILE.

    Thanks

     

  • #2 / Jan 02, 2014 7:29am

    avroo

    164 posts

    nobody?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases