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: Sexy-Bookmarks

Created:2010-02-18T17:33:18
Changed by:Jürgen Furrer
Changed:2014-04-09T23:50:08
Classification:sexybookmarks
Keywords:social network, bookmarks, favorite
Author:Juergen Furrer
Email:juergen.furrer@gmail.com
Info 4:
Language:en

img-1 img-2 EXT: Sexy-Bookmarks - sexybookmarks

EXT: Sexy-Bookmarks

Extension Key: sexybookmarks

Language: en

Keywords: social network, bookmarks, favorite

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

Based on Sexy-Bookmarks for WordPress <http://www.sexybookmarks.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

EXT: Sexy-Bookmarks 1

`Introduction 3 <#__RefHeading__12114_1291889666>`_

What does it do? 3

Screenshots 3

`Users manual 4 <#__RefHeading__12120_1291889666>`_

`Administration 5 <#__RefHeading__12122_1291889666>`_

`Configuration 6 <#__RefHeading__12124_1291889666>`_

Reference ShareThis 6

Referent FollowUs 7

FAQ 8

`Known problems 9 <#__RefHeading__12130_1291889666>`_

`To-Do list 10 <#__RefHeading__12132_1291889666>`_

`ChangeLog 11 <#__RefHeading__12134_1291889666>`_

Introduction

What does it do?

With this extension, you are able to add bookmarks to any social network you like.

Users manual

Go to Web → Page

Choose the page to add the sexy bookmarks

Add new content

Choose “Sexy-Bookmarks”

Go to tab “Plugin”

((generated))

Choose the bookmarks

img-5

Select the bookmarks you want to display. If you choose no bookmark, the default bookmarks from template will be shown (defined in constant or in setup, ask your administrator)

Define the settings

img-6

  • “Center the bookmarks”: All bookmarks will be centered
  • “Display all bookmarks on mouseover”: If there are more then one line of bookmarks, only one line will be displayed, if you move your mouse over the bookmarks, all bookmarks will be displayed.
  • “Set the background of Sexy-Bookmarks”: Choose the CSS-class to display in the background
Define the movement

img-7

Here you can define the kind of movement, if you choose “Display all bookmarks on mouseover” in the settings-tab.

Administration

You can define all used background styles in the Ext Manager, define by string separated by comma. This will define the dropdown in plugin and will result in the classname “sexybookmarks-bg-[value]”.

img-8

Configuration

To install the extension you have to add the static “Sexy-Bookmarks ShareThis” and “FollowUs” to your Template.

img-9

Reference ShareThis

jQueryNoConflict

Property

jQueryNoConflict

Data type

boolean

Description

Use jQuery in noConflict mode

Default

0

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

rssPID

Property

rssPID

Data type

integer

Description

Page ID where the RSS is displayed

Default

rssNumType

Property

rssNumType

Data type

integer

Description

Defines the page type number used for RSS

Default

100

viadeo

Property

viadeo

Data type

string

Description

Insert your Viadeo affiliate number here

Default

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:sexybookmarks/res/jquery/js/jquery-1.6.1.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:sexybookmarks/res/jquery/js/jquery.easing-1.3.js

templateFileJS

Property

templateFileJS

Data type

file

Description

Location of the used template for JS

Default

EXT:sexybookmarks/res/tx_sexybookmarks.js

jsFile

Property

jsFile

Data type

file

Description

Location of the javascript file for sexybookmarks, if empty or file does not exist, the script will not be included

Default

EXT:sexybookmarks/res/jquery/js/sexybookmarks.js

cssFile

Property

cssFile

Data type

file

Description

Location of the CSS-file, if empty or file does not exist, the script will not be included

Default

EXT:sexybookmarks/res/css/style.css

bookmarkCenter

Property

bookmarkCenter

Data type

boolean

Description

Center the bookmarks

Default

0

bookmarkExpandable

Property

bookmarkExpandable

Data type

boolean

Description

Display all bookmarks on mouseover

Default

0

bookmarkBackground

Property

bookmarkBackground

Data type

string

Description

Set the background of Sexy-Bookmarks. Possible values are:

sexy, caring, caring-old, love, wealth, enjoy, german or any class defined in Your CSS like .sexybookmarks-bg-[value]

Default

transition

Property

transition

Data type

string

Description

Effect of transition (empty, Quad, Cubic, Quart, Quint, Expo, Circ, Sine, Back, Bounce, Elastic)

Default

transitionDir

Property

transitionDir

Data type

string

Description

Direction of transition (empty, In, Out, InOut)

Default

transitionDuration

Property

transitionDuration

Data type

string

Description

The duration of the transition in milliseconds

Default

500

stdWrap

Property

stdWrap

Data type

stdWrap

Description

stdWrap for the bookmarks, this will wrap all bookmarks

Default

bookmarks

Property

bookmarks

Data type

string

Description

Comma separated all used bookmarks.

The used strings should be defined as COA in bookmarkConf

Default

See constant.txt

bookmarkConf

Property

bookmarkConf

Data type

COA

Description

Definition of the bookmarks.

Here you can define your own bookmark definitions

Default

See setup.txt

[tsref:(cObject).plugin.tx_sexybookmarks_pi1]

Referent FollowUs

jQueryNoConflict

Property

jQueryNoConflict

Data type

boolean

Description

Use jQuery in noConflict mode

Default

0

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

xing_profile

Property

xing_profile

Data type

string

Description

Define your Xing profile name

Default

facebook_profile

Property

facebook_profile

Data type

string

Description

Define your Facebook profile name

Default

twitter_profile

Property

twitter_profile

Data type

string

Description

Define your Twitter profile name

Default

youtube_profile

Property

youtube_profile

Data type

string

Description

Define your YouTube profile name

Default

googleplus_profile

Property

googleplus_profile

Data type

string

Description

Define your Google+ profile id

Default

diaspora_profile_url

Property

diaspora_profile_url

Data type

string

Description

Define your Diaspora profile URL

Default

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:sexybookmarks/res/jquery/js/jquery-1.7.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:sexybookmarks/res/jquery/js/jquery.easing-1.3.js

templateFileJS

Property

templateFileJS

Data type

file

Description

Location of the used template for JS

Default

EXT:sexybookmarks/res/tx_sexybookmarks.js

jsFile

Property

jsFile

Data type

file

Description

Location of the javascript file for sexybookmarks, if empty or file does not exist, the script will not be included

Default

EXT:sexybookmarks/res/jquery/js/sexybookmarks.js

cssFile

Property

cssFile

Data type

file

Description

Location of the CSS-file, if empty or file does not exist, the script will not be included

Default

EXT:sexybookmarks/res/css/style.css

bookmarkCenter

Property

bookmarkCenter

Data type

boolean

Description

Center the bookmarks

Default

0

bookmarkExpandable

Property

bookmarkExpandable

Data type

boolean

Description

Display all bookmarks on mouseover

Default

0

bookmarkBackground

Property

bookmarkBackground

Data type

string

Description

Set the background of Sexy-Bookmarks. Possible values are:

sexy, caring, caring-old, love, wealth, enjoy, german or any class defined in Your CSS like .sexybookmarks-bg-[value]

Default

transition

Property

transition

Data type

string

Description

Effect of transition (empty, Quad, Cubic, Quart, Quint, Expo, Circ, Sine, Back, Bounce, Elastic)

Default

transitionDir

Property

transitionDir

Data type

string

Description

Direction of transition (empty, In, Out, InOut)

Default

transitionDuration

Property

transitionDuration

Data type

string

Description

The duration of the transition in milliseconds

Default

500

language

Property

language

Data type

string

Description

The two letter code of the language to use for Google+ Share

Default

en

stdWrap

Property

stdWrap

Data type

stdWrap

Description

stdWrap for the bookmarks, this will wrap all bookmarks

Default

bookmarks

Property

bookmarks

Data type

string

Description

Comma separated all used bookmarks.

The used strings should be defined as COA in bookmarkConf

Default

See constant.txt

bookmarkConf

Property

bookmarkConf

Data type

COA

Description

Definition of the bookmarks.

Here you can define your own bookmark definitions

Default

See setup.txt

[tsref:(cObject).plugin.tx_sexybookmarks_pi2]

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, jQueryEasing, jsFile and cssFile.

Example

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

page = PAGE
page.10 {
  marks.BOOKMARKS < plugin.tx_sexybookmarks_pi1
  marks.FOLLOW_US < plugin.tx_sexybookmarks_pi2
}

To add a user defined bookmark:

plugin.tx_sexybookmarks_pi1 {
  bookmarkConf {
    mybookmark = COA
    mybookmark {
      10 = TEXT
      10.value = <li class="sexy-mybookmark">
      20 = COA
      20.wrap = <a href="|" class="external">
      20 {
        10 = TEXT
        10.data = getIndpEnv:TYPO3_REQUEST_URL
      }
      30 = TEXT
      30.value = This is my bookmark
      40 = TEXT
      40.value = </a></li>
    }
  }
}
plugin.tx_sexybookmarks_pi2 {
  bookmarkConf {
    myfollow = COA
    myfollow {
      10 = TEXT
      10.value = <li class="sexy-myfollow">
      20 = COA
      20.wrap = <a href="|" class="external">
      20 {
        10 = TEXT
        10.value = http://www.myfollow.com/my_name
      }
      30 = TEXT
      30.value = Follow us on myfollow
      40 = TEXT
      40.value = </a></li>
    }
  }
}

After this, you can use it in constant or in the plugin.

To remove a bookmark:

plugin.tx_sexybookmarks_pi1.bookmarkConf.twitter >
plugin.tx_sexybookmarks_pi2.bookmarkConf.xing >

ChangeLog

0.0.1

Version

0.0.1

Changes

Initial development

0.0.2

Version

0.0.2

Changes

Add documentation / Use TYPO3_REQUEST_URL for URL (tt_news fix) / Add t3jquery.txt

0.1.0

Version

0.1.0

Changes

Add configuration for background styles

0.2.0

Version

0.2.0

Changes

Add easing for transition

0.3.0

Version

0.3.0

Changes

Add configuration for confeed (RSS)

0.3.1

Version

0.3.1

Changes

Fix warning in log (PHP Warning: in_array() expects parameter 2 to be array, null given)

0.3.2

Version

0.3.2

Changes

Change documentation

0.3.3

Version

0.3.3

Changes

Add jsMinify

0.3.4

Version

0.3.4

Changes

Write the JS-script in t3jquery if installed

0.3.5

Version

0.3.5

Changes

Bugfix for t3lib_extMgm::getExtensionVersion, only in Typo3 4.4.x

0.3.6

Version

0.3.6

Changes

Fix a CSS2.1 error (content: none) / Add FAQ to the documentation

0.4.0

Version

0.4.0

Changes

Add jQueryNoConflict

0.4.1

Version

0.4.1

Changes

Fix problems with config.moveJsFromHeaderToFooter

0.5.0

Version

0.5.0

Changes

Add widget for t3blog if installed

0.5.1

Version

0.5.1

Changes

Remove needless code

0.5.2

Version

0.5.2

Changes

Prevent multiple JS-script output

0.6.0

Version

0.6.0

Changes

Add template for JS (#9657)

0.6.1

Version

0.6.1

Changes

JS-Template fall back fix

0.6.2

Version

0.6.2

Changes

Use pageRenderer for script include

0.6.3

Version

0.6.3

Changes

Small bugfix / Add jQuery 1.4.3

0.6.4

Version

0.6.4

Changes

Add jQuery 1.4.4 / Small bugfix (#10984)

0.7.0

Version

0.7.0

Changes

Add support for TYPO3 4.5 / Add jQuery 1.5.0 / Make links XHTML-valid

0.7.1

Version

0.7.1

Changes

Add HTML5 support

0.7.2

Version

0.7.2

Changes

Add jQuery 1.5.1

0.7.3

Version

0.7.3

Changes

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

1.0.0

Version

1.0.0

Changes

Add “FollowUs”-Plugin / Add jQuery 1.6.0 / Add new social networks

1.0.1

Version

1.0.1

Changes

Fix the twitter link (#26865) / Add jQuery 1.6.1

1.1.0

Version

1.1.0

Changes

Add Google+ FollowUs / Add jQuery 1.6.2 / Fix jsInFooter / Convert linefeed to Unix

1.1.1

Version

1.1.1

Changes

Add jQuery 1.6.4 / Fix the jsinline / Fix misspelling (#29259) / Add XING-Share / Add DIASPORA* Share and Follow

1.1.2

Version

1.1.2

Changes

Bugfix DIASPORA* Share-Button

1.1.3

Version

1.1.3

Changes

Add jQuery 1.7.1 / Improved javascript / Add new class to include resources

1.1.4

Version

1.1.4

Changes

Add Google+ share-Button (#28458)

1.1.5

Version

1.1.5

Changes

Add follow us widget to t3blog (#33876) / Fix the yandex bookmark (#33877)

1.1.6

Version

1.1.6

Changes

Fix title of stumbleupon (#34704)

1.1.7

Version

1.1.7

Changes

Add jQuery 1.7.2 / Fix “Add Favorite” for Chrome (#35134)

1.1.8

Version

1.1.8

Changes

Fix link in mail-bookmark (rawUrlEncode = 1)

1.1.9

Version

1.1.9

Changes

Remove deprecated methods (#36599)

1.1.10

Version

1.1.10

Changes

Fix t3lib_utility_VersionNumber::convertVersionNumberToInteger for older typo3 versions / Fix Google+ label

1.1.11

Version

1.1.11

Changes

Add RSS-Bookmark to FollowUs (#37348)

1.1.12

Version

1.1.12

Changes

Add Pinterest bookmark (#39083)

1.1.13

Version

1.1.13

Changes

Fix compatibility for Typo3 V6 (#41010)

1.1.14

Version

1.1.14

Changes

Fix “Add new” in backend

1.1.15

Version

1.1.15

Changes

Add jQuery 1.8.2 / Fix Google+ share-link (#22678)

1.1.16

Version

1.1.16

Changes

Fix double stdWrap in TYPO3 6.0

1.1.17

Version

1.1.17

Changes

Add compatibility for TYPO3 6.2

1.1.18

Version

1.1.18

Changes

Fix some style problems (#57547) / Remove templateJs by TS (#57549)

img-2 13