How to align?

lbarrioc - August 9, 2008 - 21:49
Project:Plus 1
Version:6.x-1.3
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

#1

Chill35 - August 12, 2008 - 04:04

Please 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.

#2

dorien - December 8, 2008 - 18:50

I 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

#3

dorien - December 8, 2008 - 19:01

I just looked it up for you. I edited node.tpl.php and added:

<div style="float:left; width:650px">
<div style="float:left; width:80px">
<?php
print plus1_jquery_widget($node,0,0); ;
?>

</div>

<div style="float:left; width:530px">
here goes the rest of the body


</div>
</div>

Of course, the widths are dependent upon your theme, I used ranch.

#4

Don Robertson - February 27, 2009 - 08:12

Adding this (or

<?php
print $node->content['plus1_widget']['#value'];
?>
) gives me two Plus1 widgets.

How do I remove the widget below the node?

#5

dorien - March 3, 2009 - 21:35

Configure Plus1 to display 0 widgets.

#6

Don Robertson - March 10, 2009 - 08:27

How do I do that. I do not see any setting for displaying widgets.

#7

dorien - March 12, 2009 - 15:55

There should be a setting at /admin/settings/plus1

 
 

Drupal is a registered trademark of Dries Buytaert.