Author Topic: Sorting Top Images by Categories?  (Read 4748 times)

0 Members and 1 Guest are viewing this topic.

Offline NYChack

  • Newbie
  • *
  • Posts: 11
    • View Profile
Sorting Top Images by Categories?
« on: March 19, 2005, 11:09:50 PM »
Hi, as of now all image Categories show up in one "Top Images" page. Is it possible to have the option of having each Category have it's own Top Images Page?  Example: Lets say I have two Categories. Category one is apples and category two is orange's. Right now the Top Images page will include both apples and oranges sorted by rating,votes, hits and downloads.  As apposed to one page with the Top Apples and another page with the Top Oranges sorted by rating,votes, hits and downloads. Anyway, I think you get the idea. Any way to do this?

Thank you,
Jason

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: Sorting Top Images by Categories?
« Reply #1 on: March 20, 2005, 06:52:55 PM »
Yes.  Just use this link format
Code: [Select]
http://www.example.com/4images/top.php?cat_id=xxxwhere xxx is the category number in question

Offline NYChack

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Sorting Top Images by Categories?
« Reply #2 on: March 20, 2005, 08:52:32 PM »
Chris, Thank You! The help on this Forum board is second to none!   :D

Yes.  Just use this link format
Code: [Select]
http://www.example.com/4images/top.php?cat_id=xxxwhere xxx is the category number in question

Offline NYChack

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Sorting Top Images by Categories?
« Reply #3 on: March 21, 2005, 06:55:06 AM »
From the info Chris gave me above and one of V@no's mods I just installed earlier (which works great!), I thought of a possible mod that would maybe put these two mods together as one.

With Chris' info above, now we can view the Top Images by categories. However, added many categories, you need to add many links to those categories in the Top Images page. This could take up a lot of space and look cluttered.  How could this be improved?  This is were V@no's mod comes in. He made a mod that lets users sort images by, name, date, downloads, etc, using a drop down list. So how about making a drop down list that goes on the Top Images Page that let the users change the Top Images by categories!

Any thoughts?
Thanks,
Jason


V@no's mod:
Subject:Let visitors to chose how to sort images(date,name,..)
URL: http://www.4homepages.de/forum/index.php?topic=3842.0