coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Fking on November 20, 2004, 11:48:08 PM

Title: last uploaded and random pics only on the main page? how?
Post by: Fking 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?
Title: Re: last uploaded and random pics only on the main page? how?
Post by: kegobeer on November 21, 2004, 12:09:46 AM
Read the documentation.
Title: Re: last uploaded and random pics only on the main page? how?
Post by: Nibbler on November 21, 2004, 12:35:26 AM
You can't make them only on the main page, they appear for all categories.
Title: Re: last uploaded and random pics only on the main page? how?
Post by: Fking on November 21, 2004, 03:04:08 AM
Ok, the one says that it's in the documentation the other that it's impossible?
Title: Re: last uploaded and random pics only on the main page? how?
Post by: Joachim Müller 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
Title: Re: last uploaded and random pics only on the main page? how?
Post by: Fking 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
Title: Re: last uploaded and random pics only on the main page? how?
Post by: Joachim Müller on December 01, 2004, 11:37:46 AM
take a look at http://forum.coppermine-gallery.net/index.php?topic=7987.msg35394#msg35394

Joachim