[TYPO3-english] random images with TS - how to preventduplicates?

Paul Vetch paul.vetch at kcl.ac.uk
Mon Feb 28 09:30:27 CET 2011


;) Thanks, both.  I guess it's a rewrite!  I'll post what I do here for 
reference.

Paul







"Christopher Torgalson"  wrote in message 
news:mailman.12266.1298837943.648.typo3-english at lists.typo3.org...

Hi,

On Sun, Feb 27, 2011 at 9:27 AM, Steffen Kamper <info at sk-typo3.de> wrote:
> Hi,
>
> only chance i see is to put outputted images in a register and include it 
> in
> andWhere for exclusion.

Alternatively (this would require you to totally rewrite your TS!) you
could select all five images, randomly sorted, in the same query and
then just render them in order.

-- 
Christopher Torgalson
http://www.typo3apprentice.com/ 



More information about the TYPO3-english mailing list