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.
Hello.
Thank you for great work, I enjoy using twitter module for automated tweets at node creation.
Anyway I have a little problem with status field of twitter form. When I create new node, twitter status for this node has default value. I can change this value to something more appropriate for this specific node, but if I click 'Preview' button after that, my status will be replaced by default one. I find this behaviour very annoying :) This small patch will fix it.
Comment | File | Size | Author |
---|---|---|---|
#12 | twitter-n633450-12.patch | 1.7 KB | DamienMcKenna |
Comments
Comment #1
graker CreditAttribution: graker commentedComment #2
graker CreditAttribution: graker commentedOops, sorry, I confused source and destination files. Here's correct patch file.
Comment #3
skizzo CreditAttribution: skizzo commentedThe patch does fix the problem on my system
Comment #4
steinmb CreditAttribution: steinmb commentedStill an issue, though the code have moved and changed quite a lot. I have almost no knowledge of the Drupal form API, but I hacked a small patch. Not sure what is best practice to keep those form values during preview, so this might be not where to fix it :)
Comment #5
steinmb CreditAttribution: steinmb commentedThere is an duplicate of this issue at #524370: "Announce This Post On Twitter" check box does not respect Preview that I closed, but contain some patches and ideas on best practice.
Comment #6
13rac1 CreditAttribution: 13rac1 commentedI'm not sure if this is still an issue, but the patch does not apply.
Comment #7
xurizaemonSensible suggestion, care to re-roll for 7.x-5.x?
Comment #8
DamienMcKennaComment #9
DamienMcKennaComment #10
DamienMcKennaThe code needs some cleanup per the Drupal coding standards.
Comment #11
DamienMcKennaThis problem doesn't exist in the 7.x-5.x branch, am working on testing the 6.x-5.x branch.
Comment #12
DamienMcKennaRerolled, updated patch for D6.
Comment #13
DamienMcKennaCommitted.