Area personale

 

Tag

 

Sponsored link

XCY Fanless Mini PC Intel - Linux support

 

Sonsored link

Nas |mini PC | router: different storage, RAM, CPU - Low consumption Linux

 

Ultime visite al Blog

taichungamorino11m12ps12acer.250miriade159prefazione09Marion20cassetta2limitedelbosco0marabertowjoerivetto6surfinia60Catter1naTraLeNuvoleM
 

Ultimi commenti

 
Creato da: taichung il 12/01/2011
Linux Drupal Pinephone Freerunner Android

 

 
« Debian Squeeze: scrivere...Sd Card read-only? »

Plurk share button for Drupal 7

Post n°38 pubblicato il 15 Settembre 2013 da taichung
 

The following is the code which I've written to get a function like Twitter button, but for Plurk. It has been created (and works) on Drupal, but with some minor changes should work on any PHP page. The core point is the url where you'll be redirected after clicking on the Plurk button.  
The code
I assume you have an html element, like an image, or a Plurk icon on your web page, where the people must click. You have to associate the following code to that icon or image:

<a title="Click to share on Plurk!" href="http://www.plurk.com/?qualifier=shares&amp;status=http://mywebsite&lt;?php print url($_GET['q']) . ' '. $title ; ?&gt;" target="_blank">Plurk This!</a>

This catches the ttle and url of the web pages you're viewing and send them to Plurk website for sharing it. You can customize it following your needs.

 
Condividi e segnala Condividi e segnala - permalink - Segnala abuso
 
 
Vai alla Home Page del blog

Cerca in questo Blog

  Trova
 
RSS (Really simple syndication) Feed Atom
 

Archivio messaggi

 
 << Aprile 2024 >> 
 
LuMaMeGiVeSaDo
 
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
 
 

Sponsored link

Dischi Nvme da 1 a 8 TB

 

Sponsored link

Inchiostro stampanti varie marche a prezzi competitivi

 

Sponsored link

Maschere per saldatura PC regolazione automatica della luce

 

 

© Italiaonline S.p.A. 2024Direzione e coordinamento di Libero Acquisition S.á r.l.P. IVA 03970540963