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: Eliminating the nav links above the gallery thumbnails  (Read 3920 times)

0 Members and 1 Guest are viewing this topic.

27media

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Eliminating the nav links above the gallery thumbnails
« on: June 03, 2004, 09:35:08 pm »

I have created a test album and I tried removing the following nav links in my theme.php file but have not been successful.  Where is that code loacted?

Home > User galleries > test > Viewer's Weather Photos
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Eliminating the nav links above the gallery thumbnails
« Reply #1 on: June 03, 2004, 11:09:50 pm »

this is called "breadcrumb navigation" (named after the fairy tale "Hänsel & Gretel" where the kids use breadcrumbs to find their way out of the forrest). Go to coppermine config and change "The content of the main page" - refer to the documentation for details.

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Eliminating the nav links above the gallery thumbnails
« Reply #2 on: June 03, 2004, 11:41:26 pm »

In my 1.2.1 install (and my test 1.3 install), this only removes it from the category page, it still shows up in thumbnail.php and displayimage.php.

To remove it completely, from all pages, do the following;

open displayimage.php, and find
Code: [Select]
// Display Breadcrumbs
    if ($breadcrumb) {
        theme_display_breadcrumb($breadcrumb, $cat_data);
    }

Comment this out(or remove), as below;
Code: [Select]
// Display Breadcrumbs
   // if ($breadcrumb) {
    //    theme_display_breadcrumb($breadcrumb, $cat_data);
   // }

Now open thumbnails.php, and find;
Code: [Select]
if ($breadcrumb) {
   theme_display_breadcrumb($breadcrumb, $cat_data);
   theme_display_cat_list($breadcrumb, $cat_data, '');
}

Comment all this out, or remove it.
Save the files, and upload them.

ps, please do not PM for support.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

27media

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Eliminating the nav links above the gallery thumbnails
« Reply #3 on: June 15, 2004, 10:50:24 pm »

Thanks, that did it!  However, if I want to hide some of the other 'text links' on my album page like (Album list :: Login
Last uploads :: Last comments :: Most viewed :: Top rated :: My Favorites :: Search) how do I do that?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.036 seconds with 18 queries.