Hi,

Is there any way that I can add the function to insert the digg button in my node-page.tpl.php? I understand I can use css to move the image at the moment but I can only seem to move it in the content section, e.g. floating left or right in the text, or just above.

What I would like to do is float it next to the "submitted by" track. Is this possible?

Thanks.

Comments

clickdeveloper’s picture

Version: 4.7.x-1.x-dev » 5.x-1.2

It would really be great if you added the ability to control the positioning of the Digg button in node.tpl.php.

urwas’s picture

I also would like to place this Digg Button on the top right side of the node (best in line with the node title)... so this would not destroy the layout, for example when using photos on the first few lines of node content.

I've tryed to do this in modifying the module code but i dont know how to make the content created by the module to be like a title or submitted variable which can then be used in node.tpl.php

Any suggestions?

Greetings!

Anonymous’s picture

I couldn't work out how to change the position at first, then I changed this line:

'#weight' => 10

to this:

'#weight' => -10

...and it's now at the top. The CSS can then do the rest if you want to move it to the right.

HTH someone!

yaph’s picture

will add a weight option to the next release

yaph’s picture

Added a weight feature for button display above or below the main content in diggthis release 5.x.-1.3

yaph’s picture

Assigned: Unassigned » yaph
Category: support » feature
Status: Active » Closed (fixed)