coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: jgsketch on February 11, 2006, 11:06:17 PM

Title: anycontent on main page but do not want on this page
Post by: jgsketch on February 11, 2006, 11:06:17 PM
I included a anycontent bloack on my main page and got rid of the catlist and album list. I just want to show my anycontent and toprated. But the anycontent block also effects the album list link. So I get no gallery. Is there a way to have the anycontent just on the main index.php page and nothing else? Would I have to edit the index.php instead of using the anycontent option? Thanks.
www.ratemyscrapbook.net
Title: Re: anycontent on main page but do not want on this page
Post by: Joachim Müller on February 12, 2006, 07:48:43 AM
"alblist" and "catlist" are mandatory. If you remove them, Coppermine will not work properly.
Title: Re: anycontent on main page but do not want on this page
Post by: jgsketch on March 03, 2006, 08:17:52 PM
Sorry it's been a while. I added back the catlist and alblist in order to get the whole program to work. Still have the same issue though. Should I edit the index page to get rid of the alblist and catlist? Or is there no way to seperate the index page and the album list page?
Title: Re: anycontent on main page but do not want on this page
Post by: Joachim Müller on March 04, 2006, 07:33:54 AM
add if ($cat==0)or similar to your anycontent file. Has been asked before, please search for details.