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

socialshareprivacy_path

Data type

string

Description

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

Default

EXT:jh_socialshareprivacy_news/Resources/Public/socialshareprivacy/j query.socialshareprivacy.js

Property

use_jquery_from_extension

Data type

int

Description

Set to '1' if jh_socialshareprivacy_news should include jQuery. (jQuery is required for a working socialshareprivacy-bar)

Default

0

Property

jquery_path

Data type

string

Description

Path to jQuery

Default

EXT:jh_socialshareprivacy_news/Resources/Public/jquery-1.9.1.min.js

Property

js_to_head

Data type

int

Description

Set to '1' if you use an extension to minify and/or compress your javascript (moves the javascript for the socialshareprivacy-bar settings to html-head)

Default

0

Property

info_link

Data type

string

Description

Link of the -i button.

Set to 'off' or leave empty if button should be hidden.

Not set by default.

Default

Property

cookie_path

Data type

string

Description

Path of the cookie.

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

cookie_domain

Data type

string

Description

Domain of the cookie.

Do not touch this if you don't have to. The system evaluates the domain by itself.

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_news/Resources/Public/socialshareprivacy/s ocialshareprivacy/socialshareprivacy.css

[tsref:plugin.tx_news.tx_jhsocialshareprivacynews ]

Example

plugin.tx_news.tx_jhsocialshareprivacyttnews {
        socialshareprivacy_path = EXT:jh_socialshareprivacy_news/Resources/Public/socialshareprivacy/jquery.socialshareprivacy.js

              use_jquery_from_extension = 0
              jquery_path = EXT:jh_socialshareprivacy_news/Resources/Public/jquery-1.9.1.min.js

              # Standardeinstellungen des Skripts
              # Nur eintragen, wenn die default des Skripts geändert werden sollen.
              info_link =
              cookie_expires =
              css_path = EXT:jh_socialshareprivacy_news/Resources/Public/socialshareprivacy/socialshareprivacy/socialshareprivacy.css
      }

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(Since version 0.2.1: leave empty to use default image from sprite)

Default

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.tx_news.tx_jhsocialshareprivacynews.services.facebook]

Example

plugin.tx_news.tx_jhsocialshareprivacynews.services.facebook {
         status=on
     dummy_img =
   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(Since version 0.2.1: leave empty to use default image from sprite)

Default

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.tx_news.tx_jhsocialshareprivacynews.services.twitter]

Example

        plugin.tx_news.tx_jhsocialshareprivacynews.services.facebook {
              status=on
           dummy_img =
                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(Since version 0.2.1: leave empty to use default image from sprite)

Default

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.tx_news.tx_jhsocialshareprivacynews.services.gplus]

Example

        plugin.tx_news.tx_jhsocialshareprivacynews.services.gplus {
         status=on
           dummy_img =
         perma_option=on
             display_name=Google+
referrer_track=
language=de_DE
     }