About "Tweet This"¶
Installation & Configuration¶
- register yourself on Twitter: https://twitter.com/signup
- You will need your Twitter username and password for configuration later
- you can only configure one twitter account per installation
- sign up on Bit.ly (URL-shortener) http://bit.ly/account/login
- get your loginname and your personal API-Key
tweet_thisfrom TER or get the newest revision from forge/SVN
tweet_thisusing the ExtensionManager
- set you Twitter and Bit.ly credentials
- set an page id
- this page id is used to create a "faked" Frontend for generating a link
- should be your blog or news detail page
- if you want you can edit the tweet template (e.g. removing the signature)
- install the extension
linkhandlerfrom the TER
- go into your TypoScript template and add two static includes:
- if you want to use tt_news, add this TypoScript-*constant* to configure the linkhandler (replace 11 with the page id of your news single page)
linkhandler.newsSinglePid = 11
- edit you backend user records and set a personal signature (like ~tl or @etobi)
Now you can create/edit your t3blog post or tt_news record like you did before.
There you have a additional field called "Tweet this". The "tweet" is prefilled with the title of the tt_news/t3blog record a shortend URL to the page/post. You may want to edit the text and click "tweet this" to actually send the tweet.
If you want, you can tweet as often as you want. A short message right beside the textarea will show you if have have tweeted already and if it was successful.
use "tweet_this" to tweet about want ever you want¶
tweet_this is very generic. You can add the "Tweet this" field to what ever record you like. Just add the TCA and linkhandler configuration. No extra database fields required. See ext_tables.php how this is done for tt_news and t3blog records.