Author Topic: Droplet twitter (italiano)  (Read 4822 times)

Offline LonelyWolf

  • Posts: 33
    • http://mysite.altervista.org
Droplet twitter (italiano)
« on: July 14, 2011, 04:59:05 PM »
Dal backend Admin tools->droplets->aggiungi droplet
Nome: tweet
descrizione: Segnala su twitter
codice:
Code: [Select]
return '<a href="http://twitter.com/share?text='.$text.'&amp;count=none&amp;lang=it" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>';

commenti: Usa [[tweet?text=Testo da far comparire]]

usate [[tweet?text=testo che comparirà]] oppure semplicemente [[tweet]] e comparirà come testo il titolo del sito.

Non verrà visualizzato il contatore dei tweet, per visualizzarlo cambiate count=none con il formato che vi interessa count=vertical (sopra)
count=horizontal (a lato)

validazione strict!

Offline peterherman

  • Posts: 125
Re: Droplet twitter (italiano)
« Reply #1 on: September 10, 2011, 07:20:45 PM »
Hello,
can you post the code for this droplet again please.
In your code-area is no code.

thanks

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3026
  • Gender: Female
Re: Droplet twitter (italiano)
« Reply #2 on: September 10, 2011, 08:46:49 PM »
this single line in the code area  IS the whoole code...  nothing more is needed. ;-)
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"You have to take the men as they are… but you can not leave them like that !" :-P
Das tägliche Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Offline peterherman

  • Posts: 125
Re: Droplet twitter (italiano)
« Reply #3 on: September 11, 2011, 03:25:38 PM »
Sorry, but i dont see code in the code area ??

Offline peterherman

  • Posts: 125
Re: Droplet twitter (italiano)
« Reply #4 on: September 11, 2011, 03:31:56 PM »
Ok, i have found the code right now. There was a problem with the ie8.

Thanks

Offline LonelyWolf

  • Posts: 33
    • http://mysite.altervista.org
Re: Droplet twitter (italiano)
« Reply #5 on: September 13, 2011, 02:13:04 PM »
A little help:
Change: lang=it to your language

The code in first post won't display tweets numbers, to add count:
count=vertical (above the button)
count=horizontal (behind the button)

Usage:
[[tweet?text=text to show]] or [[tweet]] to show site title.

 

postern-length