8 events
when toggle format what by license comment
Apr 13 '17 at 12:49 history edited CommunityBot
replaced http://expressionengine.stackexchange.com/ with https://expressionengine.stackexchange.com/
Jan 29 '14 at 22:59 comment added Derek Hogue Great - just put this in as an answer.
Jan 29 '14 at 22:59 answer Derek Hogue timeline score: 1
Jan 29 '14 at 22:50 comment added Shaun Kardinal gan bless us, every one. cheers mate!
Jan 29 '14 at 22:15 comment added Derek Hogue Ah - you need to prefix those IDs with field_id_ = so $old_field = 'field_id_51'; $new_field = 'field_id_217'.
Jan 29 '14 at 21:45 comment added Shaun Kardinal Yes–I created a new File field (id 217) in the same group as the Text Input field (id 51), then loaded the PHP into the event template that uses the Text Input field, replacing the top two lines with $old_field = '51'; $new_field = '217'; I loaded an event page that uses the template and looked again at the page in EE—no migration has taken place.
Jan 29 '14 at 20:51 comment added Derek Hogue You'll only need to load this once on a single PHP-enabled template, and it should migrate all entries which have an image in the specified field. Are you sure your field_ids are correct? You've created a new File field to move the images into?
Jan 29 '14 at 20:44 history asked Shaun Kardinal CC BY-SA 3.0