[TYPO3-english] Re: tt-news - multiple instances - catmenu - pagination

David Bruchmann david.bruchmann at gmail.com
Mon Feb 27 14:48:25 CET 2017


It can be done by TypoScript.
For each instance respectively area on a page you can define an own lib, copy plugin.tt_news in each and assign different configuration to all the libs.

lib.news1 < plugin.tt_news
lib.news2 < plugin.tt_news
lib.news3 < plugin.tt_news
lib.news4 < plugin.tt_news
lib.news4 {
    ajax = 1
    someProperty = 456
}

This is only the basic principe how it works,  for the right notation of the tt_news-plugin look up in the TypoScript of that extension, can be i.e. plugin.tt_news_pi1 or a bit different.

For some extensions this never works, at least not very well as in plugin.tt_xxx or plugin.tx_xxx is only the instantiation by extbase defined.
Then you can look at tt_content.list.20.tt_news (or similar) and manipulate the values there.
Then the example above had to be adjusted like this:

lib.news1 < tt_content.list.20.tt_news
lib.news2 < tt_content.list.20.tt_news
lib.news3 < tt_content.list.20.tt_news
lib.news4 < tt_content.list.20.tt_news
lib.news4 {
    ajax = 1
    someProperty = 456
}

The keys "ajax" and "someProperty" are only examples too and you've to verify on base of general TypoScript-options and the manual of tt_news how you can really manipulate something.


More information about the TYPO3-english mailing list