Currently the only way to refresh Embedded Media Field data is to go to the content admin page ( /admin/content/node ), filter for content types that have emfields, and select "Refresh Embedded Media Field Data". On sites with a lot of nodes with emfields in them, this can be a long and tedious task. It would be much better to have an admin interface that would allow you to press a button to refresh all of your emfield nodes at once (either by auto-detecting if the content type has an emfield, or by allowing the user to select the correct content type). Because this might be a time intensive operation, this should happen in batches on cron.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | emfield-jobqueue.patch | 3.7 KB | jody lynn |
Comments
Comment #1
aaron commentedemfield already keeps track of all content types using it, so we could just have checkboxes for the types (all selected by default).
Comment #2
alex ua commentedBumping this so we get it into the next official release...
Comment #3
alex ua commentedI'm moving this to the Drupal 6 version. Also, I think we should take advatage of jobqueue to help with the functionality.
Comment #4
jody lynnThe patch adds a new tab to the emfield settings for those who have jobqueue module enabled.
The content types which have an emfield field appear as checkboxes and those that you check cause a mass submission of all their nodes into the job queue to be reloaded upon cron.
If we commit this we should add a note to the README that this functionality exists with job_queue enabled.
Comment #5
aaron commentedSeems to work fine. Thanks, Jody.
Committed changes, and added instructions to the README.