Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [leona] 3 level of new category images?

Quote Reply
Re: [leona] 3 level of new category images? In reply to
Its simple. Just do something like this in subcategory.html;

<%if Days_Old%>
<img src="<%build_root_url%>/images/new_<%Days_Old%>.gif">
<%else%>
<img src="<%build_root_url%>/images/folder.gif">
<%endif%>

Then make sure you have the following in your 'images' folder;

folder_0.gif
folder_1.gif
folder_2.gif
folder_3.gif
folder_4.gif
folder_5.gif
folder_6.gif
folder_7.gif
folder_8.gif
folder_9.gif
folder_10.gif
folder_11.gif
folder_12.gif
folder_13.gif
folder_14.gif

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread 3 level of new category images? leona 2704 Jul 1, 2003, 10:18 PM
Thread Re: [leona] 3 level of new category images?
Andy 2622 Jul 2, 2003, 3:09 AM
Thread Re: [Andy] 3 level of new category images?
leona 2605 Jul 3, 2003, 12:03 AM
Thread Re: [leona] 3 level of new category images?
Andy 2601 Jul 3, 2003, 1:32 AM
Post Re: [Andy] 3 level of new category images?
leona 2588 Jul 3, 2003, 1:49 AM
Thread Re: [Andy] 3 level of new category images?
craven32 2516 Oct 12, 2003, 2:29 PM
Post Re: [craven32] 3 level of new category images?
Andy 2504 Oct 13, 2003, 1:15 AM