Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-10-10 02:08:24
- scdoody
- Member
- Registered: 2006-10-18
- Posts: 129
Help implement a Retweet button
I have code from Tweetmeme for a Retweet button, but I am not sure what to put for the tweetmeme_url. I want to put the link to the article which would be <txp:permlink> but I don’t think I can just put that in there cause its txp – how to I get that link in the script?
<script type=“text/javascript”>
tweetmeme_url = ‘http://www.yoururl.com’;
tweetmeme_source = ‘twitterusername’;
</script>
<script type=“text/javascript” src=“http://tweetmeme.com/i/scripts/button.js”></script>
Thanks!
Offline
Re: Help implement a Retweet button
If tweetmeme_url
is in your Textpattern page or form, then just use <txp:permlink/>
.
Also, see this related thread for re-tweet/tweet stuff.
Offline
#3 2009-10-10 02:49:30
- scdoody
- Member
- Registered: 2006-10-18
- Posts: 129
Re: Help implement a Retweet button
Thanks that was it !
Offline
Pages: 1