forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: 27media on June 03, 2004, 09:35:08 pm

Title: Eliminating the nav links above the gallery thumbnails
Post by: 27media 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
Title: Re: Eliminating the nav links above the gallery thumbnails
Post by: Joachim Müller 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 (http://coppermine.sourceforge.net/manual.php#changing) for details.

GauGau
Title: Re: Eliminating the nav links above the gallery thumbnails
Post by: Casper 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.
Title: Re: Eliminating the nav links above the gallery thumbnails
Post by: 27media 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?
Title: Re: Eliminating the nav links above the gallery thumbnails
Post by: Casper on June 16, 2004, 12:04:59 pm
This has been asked, and answered many times, and the board rule about 1 topic per thread.
here's a few of the threads;
http://forum.coppermine-gallery.net/index.php?topic=4841.0
http://coppermine.sourceforge.net/faq.php?q=removeFeature#removeFeature
http://forum.coppermine-gallery.net/index.php?topic=4970.0
http://forum.coppermine-gallery.net/index.php?topic=3180.0
http://forum.coppermine-gallery.net/index.php?topic=5897.0