If the theme twitter_status is called outside of the views field handler, then there are PHP Notices for all the missing object properties that are in the theme tpl.php but are created in the views field handler twitter_views_handler_field_formatted_tweet. The created variables should be implemented in a template_preprocess_twitter_status().

Comments

recrit’s picture

Status: Active » Needs review
StatusFileSize
new1.73 KB

the attached patch moves processing from twitter_views_handler_field_formatted_tweet to a template_preprocess_twitter_status().

damienmckenna’s picture

Status: Needs review » Needs work

Triggering the testbot.

damienmckenna’s picture

Status: Needs work » Needs review

Triggering the testbot.

Status: Needs review » Needs work

Status: Needs work » Needs review
damienmckenna’s picture

StatusFileSize
new1.85 KB

Ported to 7x-6.x.

damienmckenna’s picture

damienmckenna’s picture

Version: 7.x-5.x-dev » 7.x-6.x-dev

Status: Needs review » Needs work

The last submitted patch, 6: twitter-n2169609-6-7.x-6.x.patch, failed testing.

Status: Needs work » Needs review

  • DamienMcKenna committed dedb163 on 7.x-5.x authored by recrit
    Issue #2169609 by recrit: Moved some theming logic outside of Views...
damienmckenna’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

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