Although I'm using Drupal I post on Typo3 again.
However, I had the following problem: I want to show a latest news block for tt_news on one special page only. So I defined a new content mapping in TemplaVoila for this block (lib.popular, don't ask why ;-) ).
The answer is quite simple: Check for the page ID and show the stuff on the right page only. First I thought that you have to use GP:id, but that's not the case. Might be obvious to the enlightened, but it was not to me.
### News LATEST in left column [globalVar = TSFE:id = 2] lib.popular < plugin.tt_news lib.popular { _LOCAL_LANG.de { latestHeader = Das Allerneuste vom Neuen! } altMainMarkers.TEMPLATE_LATEST = CUSTOM_LATEST_SHORT altMainMarkers.TEMPLATE_LATEST.wrap = ### | ### code > code = LATEST pid_list > pid_list = 49 # the pids of the pages where your news are stored catImageMode = 0 catTextMode = 0 latestLimit = 10 displayList.imageCount = 0 } [global]
Recent comments
2 weeks 1 day ago
2 weeks 6 days ago
3 weeks 2 days ago
6 weeks 1 day ago
8 weeks 3 days ago
15 weeks 5 days ago
17 weeks 1 day ago
20 weeks 59 min ago
22 weeks 3 days ago
23 weeks 1 day ago