customize pages not to show categories on every page customize pages not to show categories on every page
 

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

customize pages not to show categories on every page

Started by MstrMitch, March 22, 2005, 11:37:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MstrMitch

this is sorta a repost but i am clarifying it and putting in a link. I have 2 categories and 29 albums. The categories have a picture and video album in them. I dont want to make them all categories becuase the albums dont all have multiple content. So I created the albums and put 10 on each page. But as I scroll through the pages the categories always come up on the following pages as if they are thumbtacked there. Is there a way to just let the pages scroll to new albums and not show the catrgory options on each following page? this is adult material just warning http://www.tlcafterdark.com/pics/ . if you select page 2 or page 3 you will see the categories at the top of every page, I want to change that.

Mitch
Phoenix, AZ

kegobeer

They are "thumbtacked" there because you are still on the index page, which shows the categories at the top.  The 2, 3, etc links are just for the album listing on the main page.  You click on 2, you get the categories listed (you're on the index page) and then you get the albums.  This is by design.

Here's how to get around it:

In index.php, look for

if ($breadcrumb != '' || count($cat_data) > 0) theme_display_cat_list($breadcrumb, $cat_data, $statistics);

change to

if (($breadcrumb != '' || count($cat_data) > 0) && ($cat == 0 && $PAGE == 1)) theme_display_cat_list($breadcrumb, $cat_data, $statistics);
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

MstrMitch

you are a genius..you rock, you are the best..thank you tons!!!!!!! wooooooooo hoooooooo!!!!