[TYPO3-english] nc_ttnews_mostpopular: piVars[pointer] has to be 0

Steffen Gebert steffen at steffen-gebert.de
Tue Mar 17 14:48:21 CET 2009


Hi Dmitry (and everybody else who ever might have this problem),

Imagine "News: most popular" is placed together with LIST view of tt_news on 
the same page.

If you use a pagebrowser and show second/third/... page of tt_news' LIST, 
the mostpopular will also use this value and so display other "less most 
read" news.

So I added
> $pObj->piVars['pointer'] = 0;
add the end of processSelectConfHook to overwrite the page pointer.
I have usePiBasePagebrowser = 0 (don't know, if this matters) and don't 
know, if it would work out-of-the-box with usePiBasePagebrowser = 1.

Maybe you could include this in your next round on this extension (if you 
still work on this NC extension).
It would also be nice to have this project on forge.

Steffen



More information about the TYPO3-english mailing list