Closed (cannot reproduce)
Project:
Plus 1
Version:
6.x-1.3
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2008 at 21:49 UTC
Updated:
30 Dec 2010 at 15:09 UTC
I want align the widget to the left of the content items changing style.css, but i cant. The widget is always shown after the content.
Comments
Comment #1
Chill35 commentedPlease provide a picture of what you want to achieve. You say you want it to the left, and it shows after. I don't get it.
Comment #2
dorien commentedI think Ibarrioc means that the voting widget appears below the node. And that he wants it on the left, next to the node.
You'll probably want to put the widget in a div floating left. I did something similar at think-heart.com
Comment #3
dorien commentedI just looked it up for you. I edited node.tpl.php and added:
Of course, the widths are dependent upon your theme, I used ranch.
Comment #4
don@robertson.net.nz commentedAdding this (or
print $node->content['plus1_widget']['#value'];) gives me two Plus1 widgets.How do I remove the widget below the node?
Comment #5
dorien commentedConfigure Plus1 to display 0 widgets.
Comment #6
don@robertson.net.nz commentedHow do I do that. I do not see any setting for displaying widgets.
Comment #7
dorien commentedThere should be a setting at /admin/settings/plus1
Comment #8
amir simantov commentedComing from issue #772244: Cannot retrieve values out of content
This code, as suggested by dorien on #3, does not let the css class to take any effect; that is, giving "text-align:center" to cc class ".actual-plus1" for example, does not align the widget.
Any ideas?
Thanks!
Comment #9
cashwilliams commentedStarting from scratch, i.e. not php to render the widget, you need to change the weight of the widget under the plus1 settings. It is set to 100 by default, which puts it at the bottom of the node. Change it to something in the -10 range (this works for me but is dependent on other factors of your site). Then you just need to add the CSS to float the widget to either side, this puts it on the left side -
Comment #10
cashwilliams commentedComment #11
nancydruIf this is still a problem in version 2, re-open this issue.