Closed (fixed)
Project:
Ridiculously Responsive Social Sharing Buttons
Version:
8.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2014 at 07:27 UTC
Updated:
19 Nov 2018 at 15:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mike.roberts commentedWhat kind of views integration would you like to see? A views field, which can be added to each views row? That seems like it could be pretty handy, I'll look into it. Probably won't have time to finish this for a 1.0 release, but could possibly make it into a 1.1 or 1.2 release.
If you want to contribute patches or code suggestions that would be awesome as well!
Comment #2
vlooivlerke commentedHi, A view field would be perfect. It can have the same options as the block. Also putting it in a row means you can have it an a teaser view.
Comment #3
mike.roberts commentedYou can already use this in the teaser view of your nodes. There is a "field" under manage display where you can choose to show or hide for each view mode of the node.
That said I still think views integration could be a good idea as the module matures, so I'll leave this open for a future release.
Comment #4
mike.roberts commentedComment #5
hiplus commentedHi iam not sure if i post at the right section. is it posible hide rrssb in node.tpl.php and then print it in another region in node.tpl.php?
thank you in advance
Comment #6
mike.roberts commentedYou are not posting in the correct section but I'll answer anyway :-P.
You can accomplish this in a number of ways. You can rearrange it on the manage display page and put the buttons in a certain place based on field order.
OR you can do this through writing your own node.tpl.php file in your theme. You can use php's hide() function to hide the buttons when the content is first rendered. Then render the buttons later on. Or if you want buttons at the top, you can render the buttons individually, then hide them and render $content.
For more info on how to do this, check out https://api.drupal.org/api/drupal/modules%21node%21node.tpl.php/7
Comment #7
hiplus commentedThank you very much for your answer. Yes i find how to hide and print again.
Comment #8
adamps commentedI would accept a patch for 8.x-2.x. (Could also backport to 7.x-2.x.)
Comment #9
karlsheaViews field plugin patch
Comment #10
adamps commentedThanks for the patch. Hopefully I will have time to fix some outstanding issues and create a new release sometime in November.
Comment #11
adamps commentedPatch is good thanks. I made two small changes.
1) Buttons can be share or follow so let's say "social buttons"
Comment #12
adamps commentedComment #14
adamps commentedI made two more small changes based on my final checks/tests