Author Topic: HOW: one photo from each category in index?  (Read 7709 times)

0 Members and 1 Guest are viewing this topic.

Offline wickedd

  • Newbie
  • *
  • Posts: 10
    • View Profile
HOW: one photo from each category in index?
« on: June 11, 2008, 03:43:04 PM »
hey gyus, please, is it possible to do this?

on index, instead of latest images, I need one image from each kategory(first or latest, doesnt matter)
maybe just change sql request for {new_images} will be enough, I dont know

thank you

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: HOW: one photo from each category in index?
« Reply #1 on: June 11, 2008, 03:48:31 PM »
... try this ...
... [MOD] Category Image v1.0.2 ... a random image in category_bit.html ...
... http://www.4homepages.de/forum/index.php?topic=6922.0 ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline wickedd

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: HOW: one photo from each category in index?
« Reply #2 on: June 11, 2008, 03:55:08 PM »
thanks for quick reply but I dont want picture instead of category name
I just need different sql command for different pictures at index :)

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: HOW: one photo from each category in index?
« Reply #3 on: June 11, 2008, 04:23:32 PM »
... it is not a picture instead of category name ... !
... it is a additional picture ... !
... but of course you can also show a category image otherwise ...
... it should be a request in Mods & Plugins (Requests & Discussions) ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline wickedd

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: HOW: one photo from each category in index?
« Reply #4 on: June 11, 2008, 07:37:03 PM »
thanks, that mod works great but i dont get it how put that kategory image into index page

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: HOW: one photo from each category in index?
« Reply #5 on: June 11, 2008, 07:49:16 PM »
... it is not a MOD, it is only a short hint as a very short tutorial ...
...
... you can make a copy of section "Show New Images" in your index.php ...
... so, now you can edit this section to your needs to show "One Image Of Each Category" ...
... and register the tag e.g. "image_of_each_cat" ...
... in home.html you can now use {image_of_each_cat} ...
...
... the rest is "fine tuning" ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline wickedd

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: HOW: one photo from each category in index?
« Reply #6 on: June 12, 2008, 11:25:40 AM »
thanks again man for your good-will but im really stupid in that kind of things :D

... so, now you can edit this section to your needs to show "One Image Of Each Category" ... // yeah i get it, but question is how edit, because i dont know

I need advice like "Find this, add this below" :)