| 1 |
Drupal service_links module:
|
| 2 |
------------------------
|
| 3 |
Current Maintainer: Sivanandhan, P. apsivam .at. apsivam .dot. in
|
| 4 |
Original Author: Fredrik Jonsson fredrik at combonet dot se
|
| 5 |
Requires - Drupal 4.7 or higher
|
| 6 |
License - GPL (see LICENSE)
|
| 7 |
|
| 8 |
|
| 9 |
Overview:
|
| 10 |
--------
|
| 11 |
The service links module enables admins to add the following
|
| 12 |
links to nodes:
|
| 13 |
* del.icio.us - Bookmark this post on del.icio.us
|
| 14 |
* Digg - Submit this post on digg.com
|
| 15 |
* Furl - Submit this post on Furl
|
| 16 |
* Google - Bookmark this post on Google
|
| 17 |
* IceRocket - Search IceRocket for links to this post
|
| 18 |
* ma.gnolia.com - Bookmark this post on ma.gnolia.com
|
| 19 |
* Newsvine - Submit this post on Newsvine
|
| 20 |
* Reddit - Submit this post on reddit.com
|
| 21 |
* Technorati - Search Technorati for links to this post
|
| 22 |
* Yahoo - Bookmark this post on Yahoo
|
| 23 |
|
| 24 |
The site owner can deside:
|
| 25 |
- To show the links as text, image or both.
|
| 26 |
- What node types to display links for.
|
| 27 |
- If the links should be displays in teaser view or full page view
|
| 28 |
or both.
|
| 29 |
- If the links should be added after the body text or in the links
|
| 30 |
section or in a block.
|
| 31 |
- If aggregator2 nodes should use link to original article aggregated
|
| 32 |
by aggregator2 module.
|
| 33 |
- Deside what roles get to see/use the service links.
|
| 34 |
|
| 35 |
|
| 36 |
Installation and configuration:
|
| 37 |
------------------------------
|
| 38 |
Installation is as simple as creating a directory named
|
| 39 |
'service_links' in your 'modules' directory and
|
| 40 |
copying the module and the images into it, then
|
| 41 |
enabling the module at 'administer >> modules'.
|
| 42 |
|
| 43 |
For configuration options go to 'administer >> settings >> service_links'.
|
| 44 |
|
| 45 |
For permisson settings go to 'administer >> access control'.
|
| 46 |
|
| 47 |
|
| 48 |
Add links to new services:
|
| 49 |
-------------------------
|
| 50 |
Open the file service_links.module in your text editor and in the
|
| 51 |
function service_links_render() you will find this comment
|
| 52 |
at the end.
|
| 53 |
|
| 54 |
// Add your own link by modifing the link below and uncomment it.
|
| 55 |
//$links[] = theme('service_links_build_link', t('delicious'), "http://del.icio.us/post?url=$url&title=$title", t('Bookmark this post on del.icio.us.'), 'delicious.png');
|
| 56 |
|
| 57 |
|
| 58 |
Include service links in your theme:
|
| 59 |
-----------------------------------
|
| 60 |
In the included template.php file there are an example how to insert
|
| 61 |
the service links in to a PHPTemplate theme. Remember to place the
|
| 62 |
template.php file in the folder of your theme.
|
| 63 |
|
| 64 |
|
| 65 |
Last updated:
|
| 66 |
------------
|
| 67 |
$Id$
|