Social Network Facebook / Twitter
Erscheinungsbild
Drupal Block erstellen und mit PHP Code folgenden code einbinden.
<script src="http://connect.facebook.net/de_DE/all.js"></script> <script> FB.init({ appId : 'YOUR APP ID', status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); </script> <script src="http://connect.facebook.net/de_DE/all.js?ver=3.1#xbfml=1"></script><fb:like class="fb" href="<?php echo $PHP_SELF; ?>" layout="button_count" width="110" font="arial"></fb:like>
<a "href="http://twitter.com/share" class="twitter-share-button" data-text="Ballonfahrten Zeberli" data-count="horizontal" data-via="szeberli" data-lang="de">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>