We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37073
    • 12 Posts
    Hello Folks

    Has anyone created a single solution for Facebook Like , Google +1 etc.

    Thnx
    Sintl
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I’ve used a set of chunks to stack them all into one block, if that’s what you mean...
      <section id="socialBlock" class="sideBlock">
      {{TellAFriendForm}}
      {{FacebookLike}}
      <a class="taf" href="[~[*id*]~]"><img src="assets/images/logos/email.png" title="Tell A Friend" alt="Tell-a-Friend"></a>
      <a href="http://www.facebook.com/pages/xxxx/123456789" target="_blank"><img src="assets/images/logos/facebook.png" title="Visit Us On Facebook" alt="Facebook"></a>
      <a href="http://twitter.com/xxxx" target="_blank"><img src="assets/images/logos/twitter.png" title="Follow Us On Twitter" alt="Twitter"></a>
      <a class="blogger" href="http://xxxx.blogspot.com/" target="blank"><img src="assets/images/logos/blogger.png" title="Blogger" alt="Blogger"></a><br>
      <span>Share the Experience</span>
      </section>

      The Facebook Like chunk
      <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fedit%2F%3Fid%123456789%26sk%3Dbasic%23%21%2Fpages%2Fxxxx%2F123456789&layout=box_count&show_faces=false&width=60&action=like&font=verdana&colorscheme=light&height=60" scrolling="no" style="border:none; overflow:hidden; width:60px; height:60px;" allowTransparency="true"></iframe>

      The Tell-a-Friend chunk (uses javascript to show/hide the form)
      <div id="tafArea">
          [!eForm? &formid=`tafForm` &tpl=`tafFormTpl` &report=`tafReportTpl` &to=`[+tafmailto+]` &from=`[+tafEmail+]` &fromname=`[+tafname+]` &replyto=`[+tafEmail+]` &subject=`[+tafsubject+]` &thankyou=`tafThankyou` &eFormOnMailSent=`PutCSV`!]
      </div>


        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 18463
        • 121 Posts
        Martijn van Turnhout Reply #3, 15 years, 4 months ago
        You could also check out http://addthis.com.
          • 13226
          • 953 Posts
          Try this Social Bookmarking Snippet

          Works great and is easily modified to individual needs smiley