Removing bottom 'navigation bar'

shade

Joined: 2003-02-27
Posts: 5
Posted: Mon, 2009-03-02 01:04

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):http://straightlineamerica.com/gallery/album02/Ritz5
Gallery version:1.5.10
Apache version:
PHP version (don't just say PHP 4, please):4.8
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

After I click into one of my albums then start looking at the pictures in the album how do you remove the bottom navigation bar. There is a top section where you can click for the next picture and the same thing duplicated on bottom. Attached is a picture circled is what i want to remove. Thank you for any advice

AttachmentSize
Remove.jpg74.63 KB
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-03-02 03:27

I don't have 1.5.10 but this should work:
remove:

includeLayout('navtablebegin.inc');

if ($gallery->album->fields['nav_thumbs'] != 'no' &&
  $gallery->album->fields['nav_thumbs_location'] != 'top') {
    includeLayout('navmicro.inc');
    includeLayout('navtablemiddle.inc');
}

if ( $gallery->album->fields['nav_thumbs'] != 'yes') {
    includeLayout('navphoto.inc');
    includeLayout('navtablemiddle.inc');
}

includeLayout('breadcrumb.inc');
includeLayout('navtableend.inc');

from view_photo.php

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
shade

Joined: 2003-02-27
Posts: 5
Posted: Mon, 2009-03-02 04:00

Dave thank you so much worked perfect I really appreciate it.
Right now I turned the ability for larger pictures off so the gallery fits into the my site nicely. I know this has been asled plaenty before but I would like to turn this function back on and when I click the photos to 'maximize' it pop it out to its own window instead of maximizing it in the same gallery window. Any help would be appreciated, thank you again so much.

Ryan

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-03-02 04:26

If I get this right ( I can't test as I don't have a G1 install anymore) you want to remove the bottom navigation if the image is shown full sized?
this should work but not tested:
add:
if ($width < 500) {
to the top of the code you just cut out and add:
}
to the bottom adjust the 500 as required.

If you want a popup; sorry you are on your own there.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team