forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: rctruckz on May 17, 2006, 02:00:32 am

Title: Main page thumbs
Post by: rctruckz on May 17, 2006, 02:00:32 am
Hi all :)

ok ive setup my gallery & all is working well :D

However im trying to set the main page which shows random images to only show random pics of a certain album (not all of the albums) ive looked on here & looked through the faq but cant find the answer, anyone help me please :) ?

All i want is to know how to set it up so on the main page where it says "Random Files" only pictures from an album I choose will show up here :)
Title: Re: Main page thumbs
Post by: Paver on May 17, 2006, 05:27:52 am
The Random block uses the current category to choose its random selection of files.  Do you want the Random block to always show a fixed album, no matter what category you are in?

I whipped up a plugin that I'll post once I know what you want.
Title: Re: Main page thumbs
Post by: Paver on May 17, 2006, 07:14:21 am
Here's a plugin that should do what you want: http://forum.coppermine-gallery.net/index.php?topic=31592.0 (http://forum.coppermine-gallery.net/index.php?topic=31592.0)
Title: Re: Main page thumbs
Post by: rctruckz on May 17, 2006, 06:46:14 pm
great, thanks :)

will give that a go :D

...yup i just want it to show on the main page a certain album, i have no catagories, just 3 albums, see link below:

http://rctruckzweb.awardspace.com/cpg145/index.php

atm in the random files it shows pics from all 3 albums but i only want it to show pics from the 1st album (My FG MB Pro)
Title: Re: Main page thumbs
Post by: rctruckz on May 17, 2006, 11:27:23 pm
ok i downloaded the zip, but i have no idea how to install this, i read the FAQ for installing plug ins in the plug-in section but its not very clear, when i goto the plugins section on my coppermine it only gives me an option to browse 1 file but theres 6 for this plug in?

do i need to make a new folder in my web directory/plugins folder for this plug in ?

eg: plugins/this_plugin ?

Title: Re: Main page thumbs
Post by: rctruckz on May 17, 2006, 11:35:49 pm
ignore my last post, all sorted now i just uploaded the .zip file :)

great plug-in :D

thanks!
Title: Re: Main page thumbs
Post by: Paver on May 17, 2006, 11:44:22 pm
You're welcome.  Marking thread as solved.
Title: Re: Main page thumbs
Post by: wink on August 28, 2007, 05:39:51 am
How can I disable plugin in category pages, but continue show random pictures from fixed album on main page?
Title: Re: Main page thumbs
Post by: Joachim Müller on September 04, 2007, 08:30:00 am
It's not a bright idea to try to hijack a thread that is marked as solved and deals with something different. Locking.