[TYPO3-english] tx_news: preserve pagination state

Muriel le Pair typo3 at strangefruit.nl
Tue Jun 3 13:19:24 CEST 2014


Torsten Crass schreef op 28-05-14 14:06:
> I've got a two-column page, with the main column containing a tx_news
> detail plugin and the sidebar harbouring a tx_news list. Works great -
> you can browse through the list, and when clicking a list entry, the
> corresponding details are shown in the main column.
>
> But here comes the great "however": Once you click on a list entry, the
> pager "forgets" which page it has just displayed, and while you can now
> enjoy the details of the article you just selected, you'll now have to
> start browsing the list from the begining all over again.
>
> So I wonder if there's a way to preserve the pager's state?

Hi,

The easiest way is with javascript: window.history.back().

--
kind regards,

Muriel le Pair



More information about the TYPO3-english mailing list