Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > Mods and contribution Discussion > Mod Requests

Mod Requests Have a suggestion for a mod? Post it here. You may not always receive an answer, but phpLD devs and mod developers do regularly visit this forum. If you MUST get something done, you may need to opt for paid help.

Closed Thread
 
topic widgets
Old 06-27-2005   #1
Sanhux
 
Join Date: Jun 2005
Posts: 13
Default Category images / icons

ODP project have some nice images to be associated in topics/ cathegories. Of course, a default set are nice, but this would be specified by a admin upload.
Sanhux is offline  
Old 12-16-2005   #2
FB
 
Join Date: Dec 2005
Location: Stevens Point, WI
Posts: 72
Default

How are category images added? Like adding a file folder image?
FB is offline  
Old 12-17-2005   #3
Ap0s7le
 
Join Date: Jun 2005
Location: The world
Posts: 813
Default

I plan on making a mod to allow images for each Cat, and a default one for those that aren't set.

It's on my very soon to do list.

-Casey
__________________
Casey Wilson / Ap0s7le
Freelance Programmer
Need help with PHPLD? PM me
Ap0s7le is offline  
Old 05-29-2007   #4
hitboy
 
Join Date: Jan 2007
Posts: 28
Default

has this mod been completed?
__________________
Check your sig links. They were not working.
hitboy is offline  
Old 05-29-2007   #5
regg
Supporter
Moderator
 
Join Date: Apr 2006
Posts: 1,723
Default

add simple a scr="ID_CAT.ico" and uploud some icons
__________________
Jetzt Neu: Immer aktuelle Gutscheine:
http://www.gutscheinbase.de
---
phpLD Services German
---
regg is offline  
Old 10-07-2007   #6
jminscoe
 
jminscoe's Avatar
 
Join Date: Sep 2005
Location: NC
Posts: 796
Question

Code:
Content visible to registered users only.
Question I will am doing a site with 21 main categories want to put a flag next to each category where would I put it and what would be the whole code to put in it ie..... argentina_flag icon or gif goes next to Argentina Category and so forth
__________________
JoDee
$10-5 & $5-3 deep links JoDeesWebDirectory.com HealthDirectory

To succeed in Life its not always what you know but who you know
jminscoe is offline  
Old 10-07-2007   #7
madtay
 
madtay's Avatar
 
Join Date: Mar 2007
Posts: 132
Default

Hi,

I use the following code:

Code:
Content visible to registered users only.
and simply name each image as the category number.. ie. if the Arts category ID is 1 i name the arts category icon as '1.gif' then place it in the /images/ folder.

Hope that helps,

Regards,
madtay is offline  
Old 10-07-2007   #8
proprod
Mentor
Supporter
 
proprod's Avatar
 
Join Date: May 2006
Location: Fond du Lac, WI
Posts: 1,400
Default

That is probably the easiest way to do it.
__________________
Model Railroad
Premium Directory - New Design and Now Free!
Free Submit Directory
proprod is online now  
Old 10-07-2007   #9
jminscoe
 
jminscoe's Avatar
 
Join Date: Sep 2005
Location: NC
Posts: 796
Default

Code:
Content visible to registered users only.
Just to make sure I would just put it in the main template here
Code:
Content visible to registered users only.
__________________
JoDee
$10-5 & $5-3 deep links JoDeesWebDirectory.com HealthDirectory

To succeed in Life its not always what you know but who you know
jminscoe is offline  
Old 10-08-2007   #10
swe
 
Join Date: Oct 2007
Posts: 28
Default

Easy way using same image for all folders, sub-folders.

If folder image is located in template\templatename\images\

Use this one in main.tpl:


Code:
Content visible to registered users only.
Remember added:
Code:
Content visible to registered users only.
See sample demo here: http://www.webs-dir.com

Swe
=========
http://www.webs-dir.com
swe is offline  
Old 11-23-2007   #11
shickson
 
Join Date: Nov 2007
Posts: 14
Default

I've created images for my categories and the directory looks really good. I've used the code in this forum

Code:
Content visible to registered users only.
Is there any code i can place in here to just have the categories on the index look for an image. With the code above each page is looking for an image.
shickson is offline  
Old 11-23-2007   #12
James
:)
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Nanaimo, BC , Canada
Posts: 24,016
Default

Code only on homepage (or other page)


and wrap <img src="/images/{$cat.ID}.gif" border="0" alt="{$cat.TITLE}">

in the if switch
__________________
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is 3.x
You will have to list it before ANY questions are answered.

My paypal is rentawebmaster @ gmail.com
^^ if I have helped you help me I need a new laptop
PhpLD Recommended Hosting: Here
They work with you not against you
Live Directory

Last edited by David; 06-22-2010 at 04:07 AM.
James is offline  
Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
topic widgets



All times are GMT +1. The time now is 05:37 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.