Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there anyway to support pinterist?
Comment | File | Size | Author |
---|---|---|---|
#9 | follow-add_pinterest_support-1895014-9.patch | 959 bytes | aaronglamb |
#1 | follow-add_pinterest_support-1895014-1.patch | 416 bytes | floydm |
Comments
Comment #1
floydm CreditAttribution: floydm commentedThe attached patch adds Pinterest support to the 7.x-2.x branch in git. It adds no css because there is no CSS in the 7.x-2.x branch.
Comment #2
jherencia CreditAttribution: jherencia commentedWorked perfectly.
Comment #3
q0rban CreditAttribution: q0rban commentedOk, we have duplicate issues here, each set to RTBC (See #1667782: Pinterest support). Can someone review both patches please and make a call on which to use?
Comment #4
jherencia CreditAttribution: jherencia commentedThis one works on 7.x and the other is for 6.x so there is no duplication.
Comment #5
irk CreditAttribution: irk commentedActually this is for 2.x whereas the other is for 1.x, both are for d7.
Comment #6
jherencia CreditAttribution: jherencia commentedComment #7
Carlos Miranda Levy CreditAttribution: Carlos Miranda Levy commentedThis patch works fine applied against 7.x-2.0-alpha1.
To get the icons working, copy them from
http://drupal.org/node/1667782#comment-7118954
- http://drupal.org/files/icon-pinterest.png into follow/icons/large/icon-pinterest.png
- http://drupal.org/files/icon-pinterest_0.png follow/icons/small/icon-pinterest.png
Be aware that you have to rename the second one from icon-pinterest_0.png to icon-pinterest.png because it has been renamed by Drupal upload system.
Then, edit follow/follow-css.tpl.php, adding:
right after (it really doesn't matter if after or before):
Clear your cache, and/or change the follow block settings (horizontal to vertical, block region, etc.) and the icon will appear.
Comment #8
littlecookingtips CreditAttribution: littlecookingtips commentedHi,
since not many of us know how to do what Carlos Levy suggests, are you planning in releasing a new version of the module that will include the growing in popularity Pinterest?
Thank you.
Comment #9
aaronglamb CreditAttribution: aaronglamb commentedCarlos's css template suggestion in a patch.
Keep in mind if you don't see any change after cache clearing, you may need to rename the file at your public directory /css/follow.css to follow.old.css or something - this way the template will be recreated. You public directory is likely sites/default/files, but you probably know better than I. You'll also still need an icon.
Cheers.
Comment #10
aaronglamb CreditAttribution: aaronglamb commentedSorry - this is just for the Pinterest css.
Comment #11
cwithout CreditAttribution: cwithout commentedPatch that includes both Pinterest and Instagram with instructions for applying to 7.x-2.x posted to #1879484: Support for instagram and pinterest
Comment #12
BWPanda CreditAttribution: BWPanda commentedMarking as a duplicate of #1667782: Pinterest support which has an updated patch for 7.x-2.x.