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: repeating nav menu below images  (Read 2983 times)

0 Members and 1 Guest are viewing this topic.

firswood

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
repeating nav menu below images
« on: October 25, 2006, 08:55:41 pm »

Hello,

How do I repeat the Navigation menu that appears above an image in a gallery - the one that has the return to thumbnail/display hide/slideshow/file #/ecard /previous /next  - to appear below the image as well.

http://www.theartgallery.co.uk/cpg149/displayimage.php?album=5&pos=1

I want to repeat the nav menu so it appears below the image in the example in the link.. to repeat myself.

Many Thanks

Pete
« Last Edit: October 26, 2006, 03:03:07 am by Nibbler »
Logged

Nibbler

  • Guest
Re: repeating nav menu below images
« Reply #1 on: October 26, 2006, 12:22:32 am »

Add this code into your theme's theme.php

Code: [Select]
function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
{
    global $CONFIG;

    $width = $CONFIG['picture_table_width'];

    starttable();
    echo $nav_menu;
    endtable();

    starttable();
    echo $picture;
    endtable();
   
    starttable();
    echo $nav_menu;
    endtable();
   
    if ($CONFIG['display_film_strip'] == 1) {
        echo $film_strip;
    }
   
    echo $votes;
 
    $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
    starttable();
    echo $pic_info;
    endtable();
    echo "</div>\n";

    echo "<div id=\"comments\">\n";
echo $comments;
echo "</div>\n";
}
Logged

firswood

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: repeating nav menu below images
« Reply #2 on: October 26, 2006, 02:36:53 am »

thanks nibbler - sorted and solved..

however i have another query. just to be annoying..
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: repeating nav menu below images
« Reply #3 on: October 26, 2006, 04:07:54 am »

Ask it on a new thread then - we have a "one question per thread" policy that you agreed to respect when signing up.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.