[support] D7, how to move images from field collection to image field

Hans Langouche hans.langouche at gmail.com
Tue Dec 31 10:12:03 UTC 2013


You can let rules loop a list if you use vbo (views bulk operations).
On 31 Dec 2013 10:06, "Lluís Forns" <enboig at gmail.com> wrote:

> Thanks, I will try. I have around 150 nodes so it will not be a big task.
> I hope rules can handle fields with multiple values.
>
>
> 2013/12/30 Chris Miller <cjm at tryx.org>
>
>> *From: *"Lluís Forns" <enboig at gmail.com>
>> *To: *support at drupal.org
>> *Sent: *Monday, December 30, 2013 7:07:52 AM
>> *Subject: *[support] D7,        how to move images from field collection
>> to image field
>>
>>
>> I have a site where field collection was used to store entity images
>> (multiple in one field). I think it is better to have them in an image
>> field (better colorbox support, and views, and...).
>>
>> Is there any easy way to modify all nodes to store the field from one
>> field to the other?
>>
>>
>> H Lluís,
>>
>> I did something similar with "Rules"  I had a field with a misspelled
>> machine name and I couldn't live with it, so I needed to copy the
>> misspelled field to the newly created but correctly spelled field.  I
>> created a rule which did this copy for me on the "Open Page" event, and
>> then I opened all the pages, which in my case was fewer than 100.  This is
>> not a practical solution if you have a huge number of pages, but it worked
>> splendidly for my case and it was dead simple.
>>
>> Chris.
>>
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>
>
>
> --
> *Ser freak no és imprescindible per ser informàtic, però ajuda.
> *La vida no ha de ser feliç, ha de ser plena.
> *Abans d'imprimir aquest missatge, pensa en el medi ambient.
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20131231/a2e5d5dd/attachment.html 


More information about the support mailing list