DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Extension tweetbutton --- official Twitter tweet button

Created:2010-02-18T17:33:18
Changed:2010-03-03T20:03:02
Classification:tweetbutton
Keywords:forIntermediate, forEditors, forAdmins
Author:Peter Pröll, Alinbu TYPO3 Freelancers, http://alinbu.net
Email:peter@alinbu.net
Info 4:
Language:en

img-1 img-2 Extension tweetbutton --- official Twitter tweet button - tweetbutton

Extension tweetbutton --- official Twitter tweet button

Extension Key: tweetbutton

Language: en

Keywords: forIntermediate, forEditors, forAdmins

Copyright 2000-2010, Peter Pröll, Alinbu TYPO3 Freelancers, http://alinbu.net, <peter@alinbu.net>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

Extension tweetbutton --- official Twitter tweet button 1

`Introduction 3 <#__RefHeading__2614_1289645848>`_

What does it do? 3

`Users manual 4 <#__RefHeading__2620_1289645848>`_

`Administration 5 <#__RefHeading__2624_1289645848>`_

Installation of the Extension 5

Include the button on all pages via your typoscript 5

`Configuration 6 <#__RefHeading__2628_1289645848>`_

Reference 6

`Known problems 7 <#__RefHeading__2636_1289645848>`_

`To-Do list 8 <#__RefHeading__2638_1289645848>`_

`ChangeLog 9 <#__RefHeading__2640_1289645848>`_

Introduction

What does it do?

Adds the official Twitter tweet button widget to your website.

Users manual

You can insert the button manually as a content element wherever you want to have it on your website. Just open the new content element wizard and choose it from the “Plugin” section.

After this you will be guided to the plugin configuration where you can edit these options:

  • Show counter: choose between a horizontal or vertical display or disable the tweet counter
  • Related twitter account: enter a twitter account which is recommended to the visitor after he tweeted your message.
  • Your twitter account: enter your twitter account which is also recommended to the visitor after he tweeted your message.
  • Twitter text: As twitter text the title of the current page is picked. If you want to overwrite it with a special text, do so here.
  • URL to be tweeded: By default the URL of the current page is picked. If you want to have another URL tweeted, enter it here.
  • Tweet button language: Choose the language of the button.
  • Template File: if you want to use a special template file for this extension you can name it here.

Administration

Installation of the Extension

The extension is installed as usual:

  • Download it form the TER (TYPO3 Extension Repository) with the Extension Manager.
  • Install it.
  • Add the static typoscript template to your typoscript setup.
  • Configure the extension to meet your requirements (see Configuration section).

Include the button on all pages via your typoscript

If you want to include the button on all your pages by default just add / modify your typoscript setup accordingly:

lib.main = COA
lib.main.10 < styles.content.get
lib.main.20 < plugin.tx_tweetbutton_pi1
.
subparts.col1_content < lib.main

Configuration

You can preset all options of the frontend plugin via typoscript.

Reference

Constants:

templateFile

Property

templateFile

Data type

string

Description

The template file to be used

Default

EXT:tweetbutton/res/template.html

data-count

Property

data-count

Data type

string

Description

Sets the display options for the counter (maybe horizontal, vertical, none)

Default

vertical

data-lang

Property

data-lang

Data type

string

Description

Sets the language of the button (maybe en,fr,de,es,ja)

Default

en

data-url

Property

data-url

Data type

string

Description

Sets the URL to be tweeted and overwrites the page URL

Default

data-text

Property

data-text

Data type

string

Description

Sets the tweet text and overwrites the page title

Default

data-via

Property

data-via

Data type

string

Description

Your twitter account

Default

Known problems

To-Do list

ChangeLog

1.0.0

Version

1.0.0

Changes

Initial release

img-2 9