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.

Reference

TypoScript options – Main settings

Property

Property:

Data type

Data type:

Description

Description:

Default

Default:

Property

template

Data type

string

Description

Template file for socialprivacyshare settings.

Default

EXT:jh_socialshareprivacy_ttnews/Resources/Private/Templates/template.js

Property

socialshareprivacy_path

Data type

string

Description

Path to the socialprivacyshare javascript file.Leave empty if the extension 'socialshareprovacy' is used.

Default

EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/jquery.socialshareprivacy.js

Property

use_jquery_from_extension

Data type

int

Description

Set to '1' if jh_socialshareprivacy_ttnews should include jquery.

Default

0

Property

jquery_path

Data type

string

Description

Path to jQuery

Default

EXT:jh_socialshareprivacy_ttnews/Resources/Public/Javascript/jquery-1.11.2.min.js

Property

info_link

Data type

string

Description

Link of the -i button.

Set to 'off' if button should be hidden.

Not set by default.

Default

Property

cookie_expires

Data type

integer

Description

Sets the livetime of the cookie if permalogin is set to on.

Not set by default.

Default

Property

css_path

Data type

string

Description

Path to the css file to style the socialprivacyshare bar.

If empty no css file will be included.

Default

EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/socialshareprivacy/socialshareprivacy.css

Property

uri

Data type

string

Description

Static url for socialprivacyshare bar.

Not usefull in this case, just ignore.

Default

[tsref:plugin.tt_news.tx_jhsocialshareprivacyttnews_pi1 ]

Example

plugin.tt_news.tx_jhsocialshareprivacyttnews_pi1 {
        template = EXT:jh_socialshareprivacy_ttnews/Resources/Private/Templates/template.js
        socialshareprivacy_path = EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/jquery.socialshareprivacy.js

        use_jquery_from_extension = 0
        jquery_path = EXT:jh_socialshareprivacy_ttnews/Resources/Public/Javascript/jquery-1.11.2.min.js

        info_link =
        cookie_expires =
        css_path = EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/socialshareprivacy/socialshareprivacy.css
        uri =
}

TypoScript options – facebook settings

Property

Property:

Data type

Data type:

Description

Description:

Default

Default:

Property

status

Data type

string

Description

On: activate facebook in socialprivacyshare bar

Off: deactivate facebook in socialprivacyshare bar

Default

on

Property

dummy_img

Data type

string

Description

URL to the fake-picture

Default

EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/socialsharepriva cy/images/dummy_facebook.png

Property

perma_option

Data type

string

Description

On: activate option to permanently sent data to facebook

Off: deactivate option to permanently sent data to facebook

Default

on

Property

display_name

Data type

string

Description

Default

Facebook

Property

referrer_track

Data type

string

Description

Is added to the end of the URL for tracking, optional

Default

Property

action

Data type

string

Description

Recommend: 'empfehlen'

Like: 'gefällt mir'

Default

recommend

Property

language

Data type

string

Description

Default

de_DE

[tsref:plugin.tt_news.tx_jhsocialshareprivacyttnews_pi1.services.fa cebook]

Example

plugin.tt_news.tx_jhsocialshareprivacyttnews_pi1.services.facebook {
        status=on
        dummy_img = EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/socialshareprivacy/images/dummy_facebook.png
        perma_option=on
        display_name=Facebook
        referrer_track=
        action=recommend
        language=de_DE
}

TypoScript options – twitter settings

Property

Property:

Data type

Data type:

Description

Description:

Default

Default:

Property

status

Data type

string

Description

On: activate twitter in socialprivacyshare bar

Off: deactivate twitter in socialprivacyshare bar

Default

on

Property

dummy_img

Data type

string

Description

URL to the fake-picture

Default

EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/socialsharepriva cy/images/dummy_twitter.png

Property

perma_option

Data type

string

Description

On: activate option to permanently sent data to twitter

Off: deactivate option to permanently sent data to twitter

Default

on

Property

display_name

Data type

string

Description

Default

Twitter

Property

referrer_track

Data type

string

Description

Is added to the end of the URL for tracking, optional

Default

Property

language

Data type

string

Description

Default

de_DE

[tsref:plugin.tt_news.tx_jhsocialshareprivacyttnews_pi1.services.tw itter]

Example

plugin.tt_news.tx_jhsocialshareprivacyttnews_pi1.services.facebook {
        status=on
        dummy_img = EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/socialshareprivacy/images/dummy_twitter.png
        perma_option=on
        display_name=Twitter
        referrer_track=
        language=de_DE
}

TypoScript options – Google+ settings

Property

Property:

Data type

Data type:

Description

Description:

Default

Default:

Property

status

Data type

string

Description

On: activate google+ in socialprivacyshare bar

Off: deactivate google+ in socialprivacyshare bar

Default

on

Property

dummy_img

Data type

string

Description

URL to the fake-picture

Default

EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/socialsharepriva cy/images/dummy_gplus.png

Property

perma_option

Data type

string

Description

On: activate option to permanently sent data to google+

Off: deactivate option to permanently sent data to google+

Default

on

Property

display_name

Data type

string

Description

Default

Google+

Property

referrer_track

Data type

string

Description

Is added to the end of the URL for tracking, optional

Default

Property

language

Data type

string

Description

Default

de_DE

[tsref:plugin.tt_news.tx_jhsocialshareprivacyttnews_pi1.services.gp lus]

Example

plugin.tt_news.tx_jhsocialshareprivacyttnews_pi1.services.gplus {
        status=on
        dummy_img = EXT:jh_socialshareprivacy_ttnews/Resources/Public/Contrib/socialshareprivacy/socialshareprivacy/images/dummy_gplus.png
        perma_option=on
        display_name=Google+
        referrer_track=
        language=de_DE
}