Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Twitter Cards
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2016 at 21:46 UTC
Updated:
31 May 2023 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
cebasqueira commentedComment #3
cebasqueira commentedComment #5
cebasqueira commentedSmall changes on patch!
Comment #6
cebasqueira commentedComment #7
damienmckennaThanks for putting that together.
These needs update scripts to do a few things:
FYI in metatag.install you can find metatag_update_replace_entity_value() and metatag_update_replace_config_value() which can be used to do the first fix, see metatag_hreflang.install for some example usage.
Comment #8
damienmckennaComment #9
damienmckennaComment #10
damienmckennaLet's get this into the v2 release.
Comment #11
damienmckennaMost of the changes went into #3132066: Remove deprecated Twitter Card tags (D7) so all that's left is the card type values.
Comment #12
damienmckennaNeeds an update script to fix the entity values and configuration:
* Product Cards: switch to Summary Card.
* Gallery Cards and Photo Cards: switch to Summary with Large Image card.
Comment #13
damienmckennaUpdate scripts.
Comment #14
damienmckennaComment #16
damienmckennaCommitted.
Comment #18
damienmckenna