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.

CommentFileSizeAuthor
#4 emfield-jobqueue.patch3.7 KBjody lynn

Comments

aaron’s picture

emfield already keeps track of all content types using it, so we could just have checkboxes for the types (all selected by default).

alex ua’s picture

Version: 5.x-1.x-dev » 5.x-1.2

Bumping this so we get it into the next official release...

alex ua’s picture

Version: 5.x-1.2 » 6.x-1.x-dev

I'm moving this to the Drupal 6 version. Also, I think we should take advatage of jobqueue to help with the functionality.

jody lynn’s picture

Status: Active » Needs review
StatusFileSize
new3.7 KB

The 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.

aaron’s picture

Status: Needs review » Fixed

Seems to work fine. Thanks, Jody.

Committed changes, and added instructions to the README.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.