Double category on homepage Double category on homepage
 

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]

Main Menu

Double category on homepage

Started by nec, May 14, 2007, 06:50:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nec

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 :]

skidpics

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

nec

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


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 :]

Hein Traag

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)

skidpics

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. 


nec

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.

QuoteI 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.