Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogNew Social ButtonsNew Social Buttons
Previous
 
Next
New Post
2/26/2009 7:26 AM
 

HI Guys,

 

How do I add new social buttons or change the current social buttons on my blog.

 

THanks

Robert

 
New Post
2/28/2009 4:29 AM
 

Hi Robert,

if you are handy with Javascript, just edit the files you find into the ShareBadge folder.

Best regards,
Dario Rossa

 
New Post
3/24/2009 9:30 AM
 

Hi Dario,

I'm so pleased to meet you again around DNN world!
I'd like to custimize social network bar but I cannot find a solution...

I see into \DesktopModules\Blog\ShareBadge an html page and two js files (into js directory). I can understand their code but I can't find where are enbled socal link active.

How can I choose social network links that I want to display?

Thank you

 
New Post
3/25/2009 3:55 AM
 

Hi Benny,

nice to meet you again. Take a look at the ViewEntry control code behind: when loading an entry we register two scr1pts into the page and execute the initialization function. The javascr1pt code then locates the ShareBadgePRO_Toolbar div into the page and injects the required HTML markup to enable the social bookmarks. If you want to add/remove a button, then you need to alter the chicklets array while it gets created by DesktopModules/Blog/ShareBadge/js/ShareBadgeChicklets.js. For example you could add:

    //MySocialProvider
    sb_chicklets[36][0] = strImagePath + "images/msp.gif";
    sb_chicklets[36][1] = "MySP";
    sb_chicklets[36][2] = "mysp";
    sb_chicklets[36][3] = "http://www.mysocialprovider.com/item?url={url}&title={title}";

Let me know if you need further help.

Best regards,
Dario Rossa

 
New Post
3/26/2009 6:59 PM
 

Hi Dario,
if I open DesktopModules/Blog/ShareBadge/js/ShareBadgeChicklets.js I see only a list of avaible socialnetwork button. I'm NOT looking for add a new socianlnetwork button to the list, but I want to choose the bottons.

I found \DesktopModules\Blog\js\bookmarks.xml that seems to be the right file for choose buttons:

<?xml version="1.0" encoding="utf-8" ?>
<Bookmarks>
    <Bookmark>
        <Id>1</Id>
        <Name>Ask</Name>
        <Icon>i_ask.gif</Icon>
        <URL>http://www.ask.com</URL>
        <Active>True</Active>
    </Bookmark>
    <Bookmark>
        <Id>2</Id>
        <Name>BackFlip</Name>
        <Icon>i_backflip.gif</Icon>
        <URL>http://www.backflip.com</URL>
        <Active>False</Active>
    </Bookmark>

I think <Active>True</Active> button is displayed and <Active>False</Active> button is not displayed.

I tried to change that but it doesn't work...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogNew Social ButtonsNew Social Buttons


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out