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: I wan to remove the top bar in displayimage.php  (Read 2340 times)

0 Members and 1 Guest are viewing this topic.

DeepasSea

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
I wan to remove the top bar in displayimage.php
« 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.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: I wan to remove the top bar in displayimage.php
« Reply #1 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)

Code: [Select]
    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);
    }
Logged
Chief Geek at Ranium Systems
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.