Eliminating the nav links above the gallery thumbnails Eliminating the nav links above the gallery thumbnails
 

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

Eliminating the nav links above the gallery thumbnails

Started by 27media, June 03, 2004, 09:35:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

27media

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

Joachim Müller

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

Casper

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
// Display Breadcrumbs
   if ($breadcrumb) {
       theme_display_breadcrumb($breadcrumb, $cat_data);
   }


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


Now open thumbnails.php, and find;
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.
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

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?

Casper

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