![]() |
TGPx Question
I've been searching for this for a while now, and really getting no where but confused. I run all of my link lists using TGPx. I've been wanting to add an "Updated" or "New" icon on the main pages next to the categories that have been updated. It would also be cool to have that "New" show on the actual listing as well. Any hints or clues?
Thanks much for the help! |
I've wondered if there was a way to do this on Sunshine's Lesbians Network, so I hope someone has the answer as well |shake|
|
There is way. Im away from my laptop but tonight ill give you an update unless someone beat me to it.
|
So inside {foreach} statement for listings like this
Code:
{foreach from=$galleries var=$gallery counter=$counter} ... Code:
{if $gallery.date_added > time() - 604800} New {/if} $gallery.date_added The date and time that the gallery was added to the database $gallery.date_approved The date and time that the gallery was approved $gallery.date_displayed The date and time that the gallery was selected for display and for the index page I'm not sure if this will work but try to play with something like this: pull all categories from db: Code:
{categories var=$categories order=name} |
|yourock
|
All times are GMT -4. The time now is 12:32 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc