The twitter settings page cannot be overridden, as no _alter hook is provided. I will attach patches for 7.x-5.x and 7.x-6.x to the next post. These patches add a single line to the end of twitter_user_settings():

  drupal_alter('twitter_user_settings_page', $output);

This will create: hook_twitter_user_settings_page_alter(&$page)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jaypan’s picture

Version: 7.x-5.8 » 7.x-6.x-dev
Status: Active » Needs review
FileSize
295 bytes
295 bytes
stephen.punwasi’s picture

Thanks for the patch, this was driving me insane.

Jaypan’s picture

stephen.punwasi - can you mark this as reviewed and tested if it is working for you? Thank you.

juampynr’s picture

Issue summary: View changes
Status: Needs review » Needs work

We should add a comment on top like 'Give a chance to other modules to alter the output.'.

Also, we need to update twitter.api.php.

Jaypan’s picture

Status: Needs work » Needs review
juampynr’s picture

Status: Needs review » Fixed

Made a little adjustment to the patch and committed it to 7.x-5.x and 7.x-6.x.

http://drupalcode.org/project/twitter.git/commit/ec49cad
http://drupalcode.org/project/twitter.git/commit/964384c

Thanks!

Status: Fixed » Closed (fixed)

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