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: anycontent on main page but do not want on this page  (Read 3353 times)

0 Members and 1 Guest are viewing this topic.

jgsketch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
anycontent on main page but do not want on this page
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: anycontent on main page but do not want on this page
« Reply #1 on: February 12, 2006, 07:48:43 am »

"alblist" and "catlist" are mandatory. If you remove them, Coppermine will not work properly.
Logged

jgsketch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Re: anycontent on main page but do not want on this page
« Reply #2 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: anycontent on main page but do not want on this page
« Reply #3 on: March 04, 2006, 07:33:54 am »

add
Code: [Select]
if ($cat==0)or similar to your anycontent file. Has been asked before, please search for details.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.