[TYPO3-english] How to in "A better tag cloud"
Francois Suter
fsu-lists at cobweb.ch
Wed Jul 15 09:13:27 CEST 2009
Hi,
Thanks for posting your question here ;-)
> i have read in the doc it's possible to use typo3script:
>
> [snip]
>
> but i have not see how to specify words to exclude
Indeed TypoScript is not the way to go in this case. What you need is to
use a hook to filter out the keywords. If you look at file
hooks/class.tx_vgetagcloud_hook_example.php you will find an example of
hook that filters out keywords shorter than 3 characters. That's the
hook called "postProcessRawKeywords". You can use it to filter out words
too.
You may also want to take a look at extension "wf_tagcloud_bl" which
provides a BE module to define a black list of words.
HTH
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-english
mailing list