See Reference and Example
Reference
Property: | Data type: | Description: | Default: |
|---|---|---|---|
preConfigurations | Here are the settings for the “Use defaults for” option in the plugin.. This property contains three subsections: newstags, newskeywords and indexedsearch...If the plugin is inserted, and the option “use defaults for” is selected - this default configurations overrides the pluginsettings. | See above | |
fontsizemin | int | Minimal font size (px) for the tags | 9 |
fontsizemax | Int | Maximal Fontsize (px) | 25 |
maxtags | int | How much tags should be shown... | 20 |
tag_stdWrap | StdWrap | StdWrap for the tags... | |
all_stdWrap.wrap | StdWrap | StdWrap for the whole tagcloud | |
tagTypolinkPreconfiguration | Typolink | Normal typolink configuration for the Tags (so you have all the control) But there are some special options extra: %linkpid% is replaced by the linkpid %parameter% is replaced by the parametername (you can set in the pluginform) %tag% is replaced by the actual tagname | |
GenerationMode | string | This is a Generationsetting: FromDBField or fromDBColumn | |
tagfield | String | This is a Generationsetting: Set the tagsource – table and column: Table:fieldname | |
overwriteAddWhere | String | This is a Generationsetting: You can override the addWhere, to build extra filters or whatever | |
sys_language_mode | This is a Generationsetting: For use in multilanguage websites | ||
[plugin.tx_danptagcloud_pi1.]
Example
This is the default-configuration:
plugin.tt_news.searchFieldList=short,bodytext,author,keywords,links,imagecaption,title,tx_danpextendnews_tags
plugin.tx_danptagcloud_pi1 {preConfigurations {newstags {generationMode=fromDBField
tagfield=tt_news:tx_danpextendnews_tags
parameter=tx_ttnews[swords]
linkpid<plugin.tt_news.searchPid
sys_language_mode=content_fallback
}
newskeywords {generationMode=fromDBField
tagfield=tt_news:keywords
useLanguageOverlay=1
parameter=tx_ttnews[swords]
linkpid<plugin.tt_news.searchPid
sys_language_mode=content_fallback
}
indexedsearch {generationMode=fromDBColumn
tagfield=index_stat_word:word
overwriteAddWhere=pageid IN (%pidlist%)
tagTypolinkPreconfiguration {useCacheHash=0
parameter=%linkpid%
additionalParams=&tx_indexedsearch[sword]=%tag%
}
}
}
//rendersettings
fontsizemin=9
fontsizemax=25
maxtags=20
tag_stdWrap.wrap= |
all_stdWrap.wrap=<div class="tagcloud">|</div>
//for linking
tagTypolinkPreconfiguration {useCacheHash=1
parameter=%linkpid%
additionalParams=&%parameter%=%tag%
}
// for generation of the taginfo
generationMode=fromDB
tagfield=tt_news:tx_danpextendnews_tags
overwriteAddWhere=
sys_language_mode=
}
plugin.tx_danptagcloud_pi1._CSS_DEFAULT_STYLE (
div.tagcloud {background-color: #f3f3f3; padding: 7px; border: 1px solid #eeeeee}div.tagcloud a {color: blue; text-decoration: none})