Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: I wan to remove the top bar in displayimage.php  (Read 2229 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.025 seconds with 19 queries.