Great module! Love that it doesn't leave me with a hot mess of nodes.

Just a small nit:

In the absence of the base path in Drupal.behaviors.selective_tweets_async_load I am unable to test in my local environment.

load('selective-tweets/feed/load/' + bid + '/0'...

 
should be

load(Drupal.settings.basePath + 'selective-tweets/feed/load/' + bid + '/0'...

 
and in selective_tweets_twitter_feed_build() (for good measure):

'#path' => 'selective-tweets/feed/load/' . $bid . '/' . (++$page) . '/nojs'

 
should be

'#path' => base_path() . 'selective-tweets/feed/load/' . $bid . '/' . (++$page) . '/nojs'

Dead simple patch to follow.

Comments

othermachines created an issue. See original summary.

othermachines’s picture

Status: Active » Needs review
StatusFileSize
new1.67 KB
fernly’s picture

Assigned: Unassigned » fernly
StatusFileSize
new628 bytes

Thanks! And good point.

Just had to undo the addition in selective_tweets_twitter_feed_build() as the path is passed through the url() function anyway in theme_link(). It actually causes it to break by adding the base path explicitly.

If you agree upon the change, it'll be committed and available in dev soon.

othermachines’s picture

Ahh, of course you're right. That would be terrific. Thanks!

fernly’s picture

Status: Needs review » Fixed

Committed patch #3 and available in current dev version.

@othermachines, notice that the current dev version got updated today due to some other feature requests as well. There are a few minor html structure changes but they can influence your theming. More information in the 'releases' part of the project page.

othermachines’s picture

That's great. I'm still evaluating my options (non-production) so no worries on the changes, but I appreciate the heads up. Thanks!

Status: Fixed » Closed (fixed)

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