forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Davis on December 05, 2007, 03:53:24 am
-
I am trying to move the navbar that appears above a single picture (the one with the icons) to the bottom of it just above the filmstrip. Any help is appreciated.
Thanks,
-
Anyone???
-
Add the following code to your custom theme's theme.php, just before the closing ?>
function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
{
global $CONFIG;
$width = $CONFIG['picture_table_width'];
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";
}
Re-arranging the blocks here has been described before; remember to search before posting.
-
Many thanks my good man!!! It was driving me crazy trying to figure it out!!!
Davis