PDA

View Full Version : adding graphics to categories


MrB
11-08-2005, 08:00 PM
How do you add a graphic, such as a folder icon next to each category

thanks

Jim_Westergren
11-08-2005, 08:23 PM
In main.tpl

Change:

Content visible to registered users only.

To:

Content visible to registered users only.

And add a folder.gif in the root.

MrB
11-09-2005, 12:36 PM
Thats great thank you very much

Dopeman
11-21-2005, 01:54 PM
and what about different logos in front of each category?

example:

a football in front of the sports category,

a pc in front of the hardware cat ...

its probably only a if clause for ever category, right?

seoocean
02-15-2007, 11:24 AM
Same question as Dopeman. Any ideas?

proprod
02-16-2007, 03:08 AM
Content visible to registered users only.

Yes, here is an example code from my directory:

Content visible to registered users only.

seoocean
02-16-2007, 12:10 PM
Thanks Proprod, works perfectly with my directory too ;)

the9crow
02-17-2007, 12:48 PM
Where would the following code be placed in main.tpl???
{if $category.ID eq 1 and $cat.TITLE eq 'Arts'}
<img src="http://www.linkfeads.com/templates/open_blue.gif">
{/if}