Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This isn't so much a feature request as just me offering up a field handler for anyone using the Metatags Quick module in 7.x. I went with it since Nodewords is being rewritten but isn't ready, and it seemed to be a pretty popular alternative. The code is available on my blog if anyone wants to use it. I hope it helps someone!
http://openmonkey.blogspot.com/2011/08/migrate-module-and-important-seo-...
Comment | File | Size | Author |
---|---|---|---|
#6 | metatags_quick_field_handler-1264506-6.patch | 1.16 KB | reujwils |
#2 | metatags_quick_field_handler-1264506.patch | 807 bytes | reujwils |
Comments
Comment #1
mikeryanThe best way to "offer up a field handler" is to submit a patch.
Comment #2
reujwils CreditAttribution: reujwils commentedSure thing Mike, sorry about that. I'm quite new to this, so I'll still learning the ropes :) Thanks!
Comment #3
reujwils CreditAttribution: reujwils commentedForgot to update the status after I supplied a patch.
Comment #4
drewish CreditAttribution: drewish commentedIf it's got a patch that you think should work this is the correct status.
Comment #5
drewish CreditAttribution: drewish commentedI'd add a little argument handling code even though you don't really use them, just to be safe:
Otherwise if someone (incorrectly in this case) passes in arguments it'd end up sticking an empty row into your values.
Comment #6
reujwils CreditAttribution: reujwils commentedThanks drewish for the feedback. I went ahead and updated the patch with your recommendations.
Let me know if there is anything else that I would need to modify!
Comment #7
drewish CreditAttribution: drewish commentedLooks good to me, I'll let mikeryan weigh in on it.
Comment #8
drewish CreditAttribution: drewish commentedSo #1321062: Create a simple base class for field handlers got committed so this should be doable in about 3 lines now ;)
Comment #9
mikeryanYes, let's simplify this.
Comment #10
mikeryanIt's been done directly in metatags_quick: #1408542: Add support for migrate.