Actually the correct method for setting up today's/yesterday's/etc in TGPX is to use age=.
age=0 (today's)
age=1 (yesterday's)
age=2 (the day before)
The TGPX support board has a lot of helpful information and Jeremy is usually quick to reply to tech support questions.
It should also be noted that AGP, AGS and TGPR are no longer being updated or maintained.
Regards,
SF
Quote:
Originally Posted by Vivaldi
if it's TGPX Your talking about look at the bolded prt of code ... at least that's how I do it:
{* PULL THE PERMANENT GALLERIES FROM THE DATABASE *}
{galleries
var=$galleries
type=permanent
format=any
getnew=true
allowused=true
description=false
preview=true
amount=25
minage=1
maxage=2
previewsize=120x160
globaldupes=true
category=MIXED
sponsor=any
order=RAND()
reorder=RAND()}
|