Hi, I use the tweet block with icon. I set the block to only show on node pages.
I have the following pattern set in the url
[url] [title] [node-teaser]

The problem is here: If I click on the tweet block icon I get this pattern in the url
[title] only

If I click on the node tweet icon set in Meta section of node I get the correct pattern in the url
[url] [title] [node-teaser]

If I do this code change on line 75
$links[$site] = tweet_to_twitter($site);
to
$links[$site] = tweet_to_twitter($site, $link_type, '', $node->nid);
the block tweet icon will give me this pattern
[url] [title]
This is a bit better but still missing the
[node-teaser] part in the url

How can I get the block tweet icon button to act exactly like the node tweet icon button on node pages.

Comments

icecreamyou’s picture

Category: support » bug
Status: Active » Fixed

Committed fix to dev.

Status: Fixed » Closed (fixed)

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