I set up the dev version of service_links to take advantage of the new pinterest widget - unfortunately, the 'description' field as entered in the widget settings isn't carried over to the pinterest 'pin it' button link.

The media parameter field works, or would work if I had a single image field to work from. I have been struggling for a few hours trying to get a single image from a multi value image field token to work in this parameter settings. After upgrading token and entity to the dev versions to get individual values from a multi value field into a token (http://drupal.org/node/1058856), I'm still not able to get a single image url value token from a multi value field. I think the reason is that the patch to entity/token isn't working properly yet.

Is there any workaround in the meantime for pinterest media parameter image settings? A "pin it" button is pretty useless when you can't specify the image media parameter, since people mostly pin images.

CommentFileSizeAuthor
#3 service_links-1520418.patch611 bytesTheCrow

Comments

TheCrow’s picture

Category: bug » support
Priority: Major » Normal
  1. what you entered as description token?
  2. have you tried http://drupal.org/project/token_custom ? An user succeded with this, otherwise you may write a custom token.

The issue you mentioned is about automatism that we don't need if using one of the solution mentioned in 2).

elly’s picture

1. Here is what I put in the custom description:

[node:title] from the site for the films Baraka and Samsara

2. Thanks, I will try token_custom !

TheCrow’s picture

Category: support » bug
Status: Active » Needs review
StatusFileSize
new611 bytes

The issue number 1 need a patch, unfortunately i didn't applied it when i pushed the code.

After apply the patch, clean the cache or save the service list again.

rfarm’s picture

I've been playing around with Custom Tokens module to get the 1st image of multiple for pinterest button and haven't gotten it right yet. Does anyone have a link or a hint?

elly’s picture

I wasn't able to get it working, rfarm. I ended up writing my own custom panels pane with the pinterest code in it and populated it by hand with info from a node_load().

jody lynn’s picture

Title: Pinterest settings woes: setings not being saved / printed on pinterest button, plus, workaround for multi value image fields? » Pinterest token for description does not work
Status: Needs review » Reviewed & tested by the community

The patch in #3 works to fix the bug of the pinterest tokens not working for the description parameter setting.

jody lynn’s picture

[EDIT: my finger twitched on submit and I got two comments. Bug report!]

TheCrow’s picture

Status: Reviewed & tested by the community » Fixed

Pushed #3!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.