coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: DeepasSea on February 10, 2005, 09:44:31 PM

Title: I wan to remove the top bar in displayimage.php
Post by: DeepasSea on February 10, 2005, 09:44:31 PM
First, sorry for my english, i'm spanish guy, i want to remove the top bars showed when we are viewing an image, "start>album name>etc.."
Because i'm going to link directly to the first image of the album and i don't want to anybody goes to start page or other one.

Thank you!
My congratulations, very good script!

The same in spanish:

Por si alguién entiende español por aqui, estoy intentando remover la barra superior que se muestra cuando estamos visualizando una imagen, la que pone "Inicio>nombre de album"
No quiero que nadie vaya atrás, voy linkar directamente a "displayimage.php?album=1&pos0" y así en cada galería desde otra web.
Muchas gracias y buen script.
Title: Re: I wan to remove the top bar in displayimage.php
Post by: Abbas Ali on February 11, 2005, 07:10:33 AM
Do you want to remove the breadcrumb from displayimage.php page?

If yes then comment out the following code in displayimage.php (around line 604)


    if (is_numeric($album)) {
        $cat = - $album;
        $actual_cat = $CURRENT_ALBUM_DATA['category'];
        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
        $cat = - $album;
    } else {
        $actual_cat = $CURRENT_ALBUM_DATA['category'];
        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
    }