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.

EXT: Buy me a beer

Created:2010-02-18T17:33:18
Changed by:Jürgen Furrer
Changed:2014-03-12T20:59:25
Classification:buymeabeer
Keywords:donation, paypal
Author:Juergen Furrer
Email:juergen.furrer@gmail.com
Info 4:
Language:en

img-1 img-2 EXT: Buy me a beer - buymeabeer

EXT: Buy me a beer

Extension Key: buymeabeer

Language: en

Keywords: donation, paypal

Copyright 2000-2010, Juergen Furrer, <juergen.furrer@gmail.com>

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

EXT: Buy me a beer 1

`Introduction 3 <#__RefHeading__494_179840904>`_

What does it do? 3

Screenshots 3

`Users manual 4 <#__RefHeading__500_179840904>`_

`Administration 5 <#__RefHeading__502_179840904>`_

`Configuration 6 <#__RefHeading__504_179840904>`_

Reference 6

FAQ 6

`Known problems 7 <#__RefHeading__508_179840904>`_

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

`ChangeLog 9 <#__RefHeading__512_179840904>`_

Introduction

What does it do?

This extension provide the possibility to add a donation link to your site, so, the visitor can easily donate your work with a fee.

Users manual

Go to Web → Page

Choose the page to add the new donation link

Add new content

Choose “Donate”

Go to tab “Plugin”

Change the informations you like to change from global definition

img-5

Administration

Nothing to administrate / No additional fields are needed.

Configuration

To install the extension you have to add the static “Buy me a beer” to your Template.

Reference

jQueryNoConflict

Property

jQueryNoConflict

Data type

boolean

Description

Use the noConflict methode

Default

1

jsInFooter

Property

jsInFooter

Data type

boolean

Description

If set, the Javascript will be rendered in Footer

Default

0

jsMinify

Property

jsMinify

Data type

boolean

Description

If set, the Javascript will be minified

Default

0

jsInline

Property

jsInline

Data type

boolean

Description

If set, the Javascript will be inserted into the inlineJS, after this, its possible to put it into externel files (config.removeDefaultJS = external)

Default

0

cssMinify

Property

cssMinify

Data type

boolean

Description

If set, the CSS will be minified

Default

0

jQueryLibrary

Property

jQueryLibrary

Data type

file

Description

Location of the jQuery Lib, if empty or file does not exist, the script will not be included

Default

EXT:buymeabeer/res/jquery/js/jquery-1.5.2.min.js

jQueryEasing

Property

jQueryEasing

Data type

file

Description

Location of the jQuery Easing, if empty or file does not exist, the script will not be included

Default

EXT:buymeabeer/res/jquery/js/jquery.easing-1.3.js

templateFileJS

Property

templateFileJS

Data type

file

Description

Location of the used template for JS

Default

EXT:buymeabeer/pi1/tx_buymeabeer_pi1.js

donateUrl

Property

donateUrl

Data type

string

Description

Base URL for donating

Use https://www.paypal.com/cgi-bin/webscr?cmd=_xclick for PayPal

business

Property

business

Data type

string

Description

Accountname (Email)

Default

currencyCode

Property

currencyCode

Data type

string

Description

Currency for donation

Default

EUR

amount

Property

amount

Data type

integer

Description

Amount of donation

Default

3

returnUrl

Property

returnUrl

Data type

string

Description

Return URL after donation.

The Value will be used as parameter in typolink, so you can use site id's

Default

itemName

Property

itemName

Data type

string

Description

Name of the donation

Default

donateText

Property

donateText

Data type

string

Description

Donation text

Default

If you like this site, <br/><strong>buy me a beer</strong>

amounts.*.value

Property

amounts.*.value

Data type

string

Description

Amount value

Default

amounts.*.label

Property

amounts.*.label

Data type

string

Description

Amount label

Default

template.amounts.itemWrap

Property

template.amounts.itemWrap

Data type

stdWrap

Description

Wrap for every additional amount defined in amounts

Default

template.amounts.stdWrap

Property

template.amounts.stdWrap

Data type

stdWrap

Description

Wrap around all items

Default

template.innerStdWrap

Property

template.innerStdWrap

Data type

stdWrap

Description

Wrap around the main donation text

Default

template.stdWrap

Property

template.stdWrap

Data type

stdWrap

Description

Wrap around the main donation link

Default

[tsref:(cObject).plugin.tx_buymeabeer_pi1]

((generated))
Example

To insert the donation link into your template (every Page):

page = PAGE
page.10 {
  marks.DONATION < plugin.tx_buymeabeer_pi1
}

FAQ

((generated))
I like to add some scripts / css -files globally, is this possible?

If you like to add the library globally you can set an empty string to the values. Only existing files will be included!

This will work for jQueryLibrary and jQueryEasing.

ChangeLog

0.0.1

Version

0.0.1

Changes

Initial development

0.0.2

Version

0.0.2

Changes

Add overrideSetup into Flexform / Add documentation

0.1.0

Version

0.1.0

Changes

Add multiple amounts (#9590)

0.2.0

Version

0.2.0

Changes

Add jQuery animation to additional amounts (#9593)

0.2.1

Version

0.2.1

Changes

Move the template to the res folder

0.2.2

Version

0.2.2

Changes

Use pageRenderer for script include

0.2.3

Version

0.2.3

Changes

Small bugfix / Add jQuery 1.4.3

0.2.4

Version

0.2.4

Changes

Add link wizard to returnURL

0.2.5

Version

0.2.5

Changes

Add jQuery 1.4.4 / Small bugfix (#10984)

0.2.6

Version

0.2.6

Changes

Add support for TYPO3 4.5 / Add jQuery 1.5.0 / Add jQuery 1.5.1

0.3.0

Version

0.3.0

Changes

Activate the transition

1.0.0

Version

1.0.0

Changes

Add jQuery 1.5.2 / Fix the flexform data extraction / Remove unused scripts

1.0.1

Version

1.0.1

Changes

Add jQuery 1.6.2 / Fix jsInFooter / Convert linefeed to Unix

1.0.2

Version

1.0.2

Changes

Add jQuery 1.6.4 / Fix performance issue

1.0.3

Version

1.0.3

Changes

1.0.4

Version

1.0.4

Changes

Fix UTF-8 bug in german language (#30820) / Fix nospace bug for item_name (#30842)

1.0.5

Version

1.0.5

Changes

Fix rawUrlEncode of template.typolink (#31153)

1.0.6

Version

1.0.6

Changes

Add jQuery 1.7.1 / Use new class for pagerenderer

1.0.7

Version

1.0.7

Changes

Add jQuery 1.7.2 / Remove deprecated methods (#36599)

1.0.8

Version

1.0.8

Changes

Fix t3lib_utility_VersionNumber::convertVersionNumberToInteger for older typo3 versions

1.0.9

Version

1.0.9

Changes

Fix compatibility for Typo3 V6 (#41010)

1.0.10

Version

1.0.10

Changes

Fix “Add new” in backend

1.0.11

Version

1.0.11

Changes

Add Compatibility for TYPO3 V 6.2

img-2 10