[TYPO3-english] vge_tagcloud and tt_news
Claudio Strizzolo
claudio.strizzolo at ts.nogarb.ageinfn.it
Thu Apr 23 12:39:05 CEST 2009
Hi all
I've solved my problem, at last.
I couldn't find a way to define the startPage from the TS including both
the root page of my site and the tt_new folder, and make the whole thing
work. By looking at the documentation I had thought this should work,
while it doesn't in my case:
# 34 is the uid of my root page
# 280 is the uid of the folder containing the tt_news
startPage.data = 34,280
However, the extension works as expected by adding the two references
through the Startingpoint field of the plugin configuration form.
In case this helps someone else, I supply some more information about my
configuration. Here is the final TS setup, basically taken from examples
here and there:
plugin.tt_news.searchFieldList = keywords
plugin.tx_vgetagcloud_pi1 {
references {
1 {
table = tt_news
fields = keywords
}
2 {
table = pages
fields = keywords
}
}
tagWrap {
typolink {
parameter.data = field:tag_link
additionalParams.dataWrap = &tx_vgetagcloud_pi2[pages]=
{field:tag_pages}&tx_vgetagcloud_pi2[keyword]={field:tag_keyword}
additionalParams.data = field:tag_keyword
additionalParams.wrap = &tx_ttnews[swords]=|
useCashHache = 1
}
}
}
plugin.tx_vgetagcloud_pi2 {
results.includeNotInMenu = 1
}
# I installed the sm_tagcloudcleanup extension, in order to remove the
PID
# of the folder containing the tt_news items from links.
# Here I assign the list of PIDs to be removed (just one, in my case) to
# the removePids option
plugin.tx_smtagcloudcleanup_hook {
removePids = 280
}
The results page includes both the vgetagcloud_pi2 and the tt_news plugin,
in order to manage pages and tt_news entries separately, like Steffen
Müller suggested in an old post.
tt_news plugin is configured in SEARCH mode in order to display the
news including the desired keyword. See tt_news documentation
for more details.
Claudio
More information about the TYPO3-english
mailing list