Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.markdown

Lokka Tweet Button

This is a Lokka plugin to add "Tweet Button" link.

Installation

Run these commands:

$ cd public/plugin
$ git clone git://github.com/nkmrshn/lokka-tweet_button.git

Usage

You can set options in the admin page [Plugins]->[Tweet Button].

The helper method is "tweet_button". Don't forget to modify the theme template. If the tweet_button method called without any parameter, current page URL will be tweeted. If you want to specify the URL, call the method with String parameter like:

<%= tweet_button("http://example.com/foo/bar/") %>

If you want to specify some text to be tweeted, call the method with 2 parameters like:

<%= tweet_button("http://example.com/foo/bar/", "some text") %>

Notice

When the URL starts with "http://localhost" and clicked the Tweet button, you will get "URL required - 'url' parameter does not contain a valid URL." message from Twitter.

About

Lokka Plugin to add a Tweet button

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.