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: Double category on homepage  (Read 3341 times)

0 Members and 1 Guest are viewing this topic.

nec

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Double category on homepage
« on: May 14, 2007, 06:50:04 pm »

Hello,
I have problem with my coppermine-gallery, as you can see in the picture below, the category on homepage is doubled(the same thing is showed twice time). How can i repair it? Maybe it is something in config, but i have no idea.

http://img403.imageshack.us/img403/2915/badvm2.png


Thank you :]
« Last Edit: May 15, 2007, 07:26:03 am by Hein »
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Double category on homepage
« Reply #1 on: May 14, 2007, 07:01:20 pm »

Did you check config:album settings, under "The content of the main page" and make sure you don't have a double entry of "catlist"??

-- Skidpics
Logged

nec

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Double category on homepage
« Reply #2 on: May 14, 2007, 07:23:16 pm »

Great it is working again!
I have deleted this code in index.php, and no error etc. everything is working again.
Thank for help.

Code: [Select]
case 'catlist': 
      if ($breadcrumb != '' || count($cat_data) > 0) theme_display_cat_list($breadcrumb, $cat_data, $statistics);
      if (isset($cat) && $cat == USER_GAL_CAT) {
          list_users();
      }
      flush();
      break;


Thank you :]
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Double category on homepage
« Reply #3 on: May 14, 2007, 07:30:15 pm »

Do you have any plugins running on your CPG ? It does happen with some plugins that the categorie field is displayed twice. Placing the plugins in the correct order in plugin manager saves you the trouble of deleting code from index.php (which is something you really should not be doing)
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Double category on homepage
« Reply #4 on: May 14, 2007, 07:32:51 pm »

I agree with Hein, and I don't believe my instructions were to delete coding from the index file.  Rather, log into admin, confid and check the album setting for the main page content listing, as discussed in the previous post. 

Logged

nec

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Double category on homepage
« Reply #5 on: May 14, 2007, 10:05:34 pm »

I believe it is caused by something else, but for now it is working, yes i am running a few plugins i will try to turn them off and then look, but from this what i remember none of them has impact on the view of the main page.

Quote
I agree with Hein, and I don't believe my instructions were to delete coding from the index file.  Rather, log into admin, confid and check the album setting for the main page content listing, as discussed in the previous post.
@skidpics: I have deleted this part of code before I have seen your answer.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.