Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

Adds a ShareThis button
3d browser Print

Plugin ShareThis

This Wiki Plugin places a ShareThis button (from www.sharethis.com) on the page. Users can click on the button and select from a number of social networking services to share the page with their network. A ShareThis account is not necessary.

Close
warning Warning
There were bugs in this plugin in version 3.0 (which is when the plugin was introduced) which were fixed in version 3.2.


Here's a quick example (also works in 3.0):

This code:

{SHARETHIS() /}


Produces this:

xxx <- Mouse over or click on this link or icon to see the widget.



Usage and Parameters

To use this plugin in a wiki page, use the syntax:
Syntax for the ShareThis plugin
{SHARETHIS(sendsvcs=> , postfirst=> , rotateimage=> y|n, buttontext=> , headertitle=> , headerbg=> , headertxtcolor=> , linkfg=> , popup=> true|false, embed=> true|false)}{SHARETHIS}


Parameter Accepted values Default Effect Required? Since
sendsvcs email|aim|sms (with no spaces) all three send services will be available in the widget if this value is not set Enter one or two of the services (separated by a | ) if you don't want all three to be available in the widget n 3.2
postfirst names of post services (like facebook, digg, etc.). The names can't have spaces and need to be spelled exactly as the code that the www.sharethis.com (external link) site would produce. a default set of services will show on the first panel of the widget The services named will appear by themselves on the first panel when the widget opens n 3.2
rotateimage y or n n Setting this to y will cause the button icon to rotate every 3 seconds between a few icons, cycling through twice before stopping. n 3.2
buttontext text ShareThis Changes the link text for the button n 3.2
headertitle text none Optional header title text for the widget n 3.2
headerbg HTML color code without the # sign (and not the color name) 004a64 Background color for the header. headertitle must be set for this parameter to have any effect. n 3.2
headertxtcolor HTML color code without the # sign (and not the color name) ffffff (white) Text color for the header title. headertitle must be set for this parameter to have any effect. n 3.2
linkfg HTML color code without the # sign (and not the color name) In 3.0 and 3.1, the default is CF000D (red). In 3.2 it's 222222 (blackish). Link text color for all the services shown in the widget n
popup true or false false When set to true, clicking on the button causes the widget to appear in a pop-up window. n
embed true or false false A value of true will allow embedded elements (like flash) to be seen while iframe is loading. n


Close
tip Other Usage Tips

  • A ShareThis account is not necessary for this plugin to work properly.
  • Personalized information from the user's ShareThis profile will appear in the widget if the user is signed into ShareThis, either through their website or through the widget.
  • If the plugin is used more than once on a page, all instances will be the same as the first one on the page.
  • May not work within a {DIV} or {SPLIT} plugin (this is an issue for any plugin that produces Javascript).


Example

This code,
{SHARETHIS(rotateimage=>y, embed=>true, postfirst=>myspace|digg|delicious, buttontext=>ShareThat, headertitle=>Share this page!, headerbg=>333333, headertxtcolor=>e6d46e, sendsvcs=>email|sms)}{SHARETHIS}


Produce this (starting with 3.2):

PluginSharethis1.jpg

Close
note Note
This is a static image being used until the code is updated to reflect all the features of this plugin. Because of this you won't be able to see the rotateimage parameter in action with this screenshot.





Contributors to this page: lindon1665 points  .
Page last modified on Saturday 06 March, 2010 04:08:47 UTC by lindon1665 points .

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Banners
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Groups Home Page)
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interaction
Inter-User Messages
InterTiki
Karma
Live Support
Login
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profile Manager
Quicktags
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
WYSIWYCA
WYSIWYG 2.x
XMLRPC