Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Quite simply adds a field.
Comment | File | Size | Author |
---|---|---|---|
#2 | twitter_pull-field-and-formatter-1357042-2.patch | 8 KB | jasonawant |
#1 | twitter_pull-field-and-formatter-1357042-2.patch | 8.02 KB | jasonawant |
patch_commit_b9b71b7c7020.patch | 7.14 KB | jdelaune |
Comments
Comment #1
jasonawantHi,
I could not get this patch to apply cleanly, so I've re-rolled it.
Note, after adding this field to a content type anding values to a node, the Twitter feed would not render until I authenticated a Twitter account using the Twitter project.
Jason.
Comment #2
jasonawantremoved dsm();
Comment #3
gappleThe Twitterfield module provides a formatter that utilizes Twitter Pull for output
The differences from this patch appear to be:
- this patch stores a title in combination with the username or list
- Twitterfield configures the number of tweets on the entity display mode, rather than in the field itself
Advantages of Twitterfield
- Limit the types values being stored in the field (e.g. usernames only)
- Ability to render as just a link in other display modes
Comment #4
DamienMcKenna