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.
TypoScript Setup¶
In the TypoScript configurations setup we can specify the links and link parameters for specific tables. Also you can exclude certain uids from getting tagged.
Example¶
- Example
plugin.tx_pitstagcloud_tagcloud { settings { tabletags{ pages{ links.parameter = uid excludeRecords = 1,5 andWhere = doktype = 1 } tt_news{ links.parameter = {$plugin.tt_news.singlePid} links.additionalParams = tx_ttnews[tt_news] links.attributeValue = uid excludeRecords = andWhere = } } } }
plugin.tx_pitstagcloud_tagcloud.settings.tabletags¶
tablename¶
Property
tablename
Data type
string
Description
Define the name of the table for which the link have to be generated.
plugin.tx_pitstagcloud_tagcloud.settings.tabletags.[tablename].links¶
parameter¶
Property
parameter
Data type
string
Description
The page id or the field to which the link has to point to.
Default
The default value is set to 'pid'
Example
For tt_news singlePid is set as: links.parameter = {$plugin.tt_news.singlePid}
additionalParams¶
Property
additionalParams
Data type
string
Description
If there are additional parameters to be passed to the URL. Specify the extension key along with the attribute name.
Example
For tt_news single page view the value is set as: additionalParams = tx_ttnews[tt_news]
attributeValue¶
Property
attributeValue
Data type
string
Description
The value of the parameter/attribute to be paased in the URL string.
Example
For tt_news single page view for the additional parameter tx_ttnews[tt_news], we give the value for the attribute property as 'uid'. attributeValue = uid
plugin.tx_pitstagcloud_tagcloud.settings.tabletags.[tablename].excludeRecords¶
excludeRecords¶
Property
excludeRecords
Data type
string
Description
comma seperated list of uids to be excluded from tagging
Default
Null
plugin.tx_pitstagcloud_tagcloud.settings.tabletags.[tablename].andWhere¶
andWhere¶
Property
andWhere
Data type
string
Description
The extended where condition which you want to add to the query while fetching tags. You can define it specifically for each table.
Default
Null
Example
For pages table we can extend the query to consider only those pages with doktype = 1.
pages.andWhere = doktype = 1