Closed (fixed)
Project:
Tweet Button
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2011 at 22:20 UTC
Updated:
30 Sep 2011 at 22:55 UTC
The button is being displayed with horizontal counter regardless of value of tweetbutton_button variable. The bug is rather simple - maybe just a copy-paste typo.
See tweetbutton.module:
function tweetbutton_node_view($node, $view_mode) {
...
'title' => theme('tweetbutton_display__' . $node->type, array('object' => $node, 'options' => array('type' => 'horizontal'))),
...
tweetbutton_button value is not being read and is hard-coded 'horizontal'.
See the patch attached for workaround.
| Comment | File | Size | Author |
|---|---|---|---|
| tweetbutton.patch | 669 bytes | iamweird |
Comments
Comment #1
djmy commentedhi @iamweird. Is there a patch for this issue for the 7.2x dev? I love the new features on the 7.2 but i keep getting the button horizontal and not vertical. Any help is very much appreciated!
Comment #2
chia commentedYou can change button type from field formatters under "Manage Display" if fields UI page.
Comment #3
djmy commentedThat worked! Thank you chia!!!