Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: last uploaded and random pics only on the main page? how?  (Read 2969 times)

0 Members and 1 Guest are viewing this topic.

Fking

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
last uploaded and random pics only on the main page? how?
« on: November 20, 2004, 11:48:08 pm »

Well how to make to show the last uploaded and random pics tables only on the main page?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: last uploaded and random pics only on the main page? how?
« Reply #1 on: November 21, 2004, 12:09:46 am »

Read the documentation.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Nibbler

  • Guest
Re: last uploaded and random pics only on the main page? how?
« Reply #2 on: November 21, 2004, 12:35:26 am »

You can't make them only on the main page, they appear for all categories.
Logged

Fking

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Re: last uploaded and random pics only on the main page? how?
« Reply #3 on: November 21, 2004, 03:04:08 am »

Ok, the one says that it's in the documentation the other that it's impossible?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: last uploaded and random pics only on the main page? how?
« Reply #4 on: November 21, 2004, 07:21:43 am »

no, the one who's telling you to read the docs was suggesting that the docs say you can't have it on the start page only - in fact the same answer given twice. Kegobeer was trying to help you to help yourself by finding stuff out on your own before asking for help, as this is the best way to get to know the software.
If you absolutely need this hack, you could add an if/then switch into the code of index.php that checks for cat==0. There are postings that explain in detail how to modify the code to accomplish this, please search the board.

Joachim
Logged

Fking

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Re: last uploaded and random pics only on the main page? how?
« Reply #5 on: November 22, 2004, 05:19:47 pm »

i have read the docs and i know it can't be set that way in the config
that's why i asked here, with the hope that someone will point me the code which need to be modificated....
well if this is already answered i'll try to find it
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.