coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: firswood on October 25, 2006, 08:55:41 PM

Title: repeating nav menu below images
Post by: firswood 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
Title: Re: repeating nav menu below images
Post by: Nibbler on October 26, 2006, 12:22:32 AM
Add this code into your theme's theme.php


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";
}
Title: Re: repeating nav menu below images
Post by: firswood on October 26, 2006, 02:36:53 AM
thanks nibbler - sorted and solved..

however i have another query. just to be annoying..
Title: Re: repeating nav menu below images
Post by: Joachim Müller 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.