Adding a "Share This" button into a dynamic list

Options

We have a "Share This" button on our press releases page and blog posts inserted into a dynamic list, but when you try to post a specific press release, it shares the page instead of that specific item. Is there a way to have a share this button in the dynamic list that works by sharing the specific item and not the page that it's displaying in?

The share this code I'm using is:

<script type="text/javascript" src="#tabs=web%2Cpost%2Cemail&charset=utf-8&style=default&publisher=035fe23e-16c7-470a-abc7-15a2927af4f8"></script>

This is the share this site: /

Here are the pages with the "share this" button:

So if you click on the "share this" link, and think you are sharing the one press release, it will share the page instead of the item.

Thanks,

Daniel

Tagged:

Comments

  • From our experience using AddThis (an essentially similar sharing tool) I doubt this is possible, but I would suggest that it may not be desirable anyway. I have to think that most web users need to read at least a few lines of the main story content before they feel motivated to use a Share feature.

    So we just put the Share tool on individual stories. It was very easy to insert the AddThis javascript in the display template. Example page:

    http://www.jointogether.org/news/features/2009/new-hazelden-survey.html

    (mouse over the tiny-text + Share button in the article tools area near the top.

    Eric Helmuth

    www.JoinTogether.org

  • Eric Helmuth:

    From our experience using AddThis (an essentially similar sharing tool) I doubt this is possible, but I would suggest that it may not be desirable anyway. I have to think that most web users need to read at least a few lines of the main story content before they feel motivated to use a Share feature.

    So we just put the Share tool on individual stories. It was very easy to insert the AddThis javascript in the display template. Example page:

    http://www.jointogether.org/news/features/2009/new-hazelden-survey.html

    (mouse over the tiny-text + Share button in the article tools area near the top.

    Eric Helmuth

    www.JoinTogether.org

    Eric,

    I agree with you on the "may not be desirable" part, but I am compelled to say that it is possible. See this webmonkey.com article about using sharethis.com for the solution.

  • Bruce Keilin:

    Eric,

    I agree with you on the "may not be desirable" part, but I am compelled to say that it is possible. See this webmonkey.com article about using sharethis.com for the solution.

    Very cool Bruce, I wasn't aware of that Share This functionality. And that article makes a good point about instances where multiple Share buttons could make sense -- a blog archive or photo gallery. I happily stand corrected.

    So if someone wanted to implement this capability in Convio CMS, is there a code string that will dynamically populate the direct URL of each item in a list template into the ShareThis javascript?

  • Eric Helmuth:

    Very cool Bruce, I wasn't aware of that Share This functionality. And that article makes a good point about instances where multiple Share buttons could make sense -- a blog archive or photo gallery. I happily stand corrected.

    So if someone wanted to implement this capability in Convio CMS, is there a code string that will dynamically populate the direct URL of each item in a list template into the ShareThis javascript?

    If you are inside a repeating block (e.g. "t:list" or "") then the URL property refers to the current item being iterated, not the page containing the list. This code sample below is ugly, but illustrates what I mean:

    You'll need to be careful escaping any literal single quotes in the title to prevent Javascript errors.

  • Daniel Laender:

    Thanks, Bruce. It worked!

    http://www.unfoundation.org/press-center/press-releases/2009/statement-by-reid-detchon.html

    Best,

    Daniel

    Glad to hear it, Daniel.

Categories