Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.3. Configuration

All configuration can be done by TypoScript, see the following table for all options you can set.

Reference

Property:

Data type:

Description:

Default:

.tagline

stdWrap

Any freetext you will place at the top of the icons-row. You can change the text by overwriting the locallang.xml values.

social bookmark now:

.outerWrap

stdWrap

wrap for the complete row of Icons included the tagline

none

.alternativeTitle

cObj

an alternative title, default is the page title of the current page.

alternativeTitle = TEXT

alternativeTitle.field = title

.activeServices

String

comma separated list of active services. this option activates and sort the icons to display. change the order of the “service-keys” (see next option), or remove “service-keys” to deactivate the icon in frontend.

all available services are activated

.services

Array

this option is an array of available services. each service get its own “service-key”. This way you can easily add more services and activate it by adding the service-key to the “activeServices” option. see on the next rows how to configure new services and take a look at the example after this table.

.services.[service-key]

String

the service-key must be unique, so you have to check first if the key is used allways.

.services.[service-key].icon

cObj: IMAGE

configuration for the icon.

.services.[service-key].url

String

the url for the service to bookmark a page. You can use two placeholder/marker in the url, which will be replaced.Marker:%TITLE%  will be replaced with the title of the blogpost or the alternativeTitle.%URL% will be replaced wtth the URL to the blogpost or current page.

.services.[service-key].title

String

title for the anchor which wrap the icon

.services.[service-key].target

String

the link target for the icon

plugin.tx_timtabsociable_pi1.iconTarget

.services.[service-key].wrap

stdWrap

stdWrap for the icon

plugin.tx_timtabsociable_pi1.iconWrap

[tsref:plugin.tx_timtabsociable_pi1]

Example

Here you would show an example of adding new services:

plugin.tx_timtabsociable_pi1 {
services {
myNewService {
icon {
file = fileadmin/icons/myNewService.png
icon.altText = myNewService
icon.titleText = myNewService
}
url = http://www.example.rl/add.php?url=%URL%&title=%TITLE%
title = myNewService
target < plugin.tx_timtabsociable_pi1.iconTarget
wrap < plugin.tx_timtabsociable_pi1.iconWrap
}
}
activeServices := addToList(myNewService)
}