how can i make the breadcrumb and the icons for slideshow etc. hidden how can i make the breadcrumb and the icons for slideshow etc. hidden
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

how can i make the breadcrumb and the icons for slideshow etc. hidden

Started by charlie_lab, December 29, 2006, 06:45:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

charlie_lab

Hello,

I almost get my gallery as i wanted.
But now i want to make the breadcrumb and the icons for slideshow, file-information hidden.

How can i make this happen ?

Roelof

~mike~


charlie_lab

oke,

i read it but is doesn't work. i still can see the breadcumb and the icons.

Here's my theme.php :


<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
**********************************************/


define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until
                                        // you have validated it. See docs/theme.htm.
define('THEME_HAS_NO_SUB_MENU_BUTTONS'1);
$CONFIG['max_film_strip_items'] = 3//overrides the number of thumbnails.
$CONFIG['thumbcols'] = 4//overrides the number of columns for thumbnails.
$CONFIG['main_table_width'] = '400'//overrides the Width of the main table (pixels or %).
$CONFIG['picture_table_width'] = '100%'//overrides the Width of the table for file display (pixels or %).
$CONFIG['album_list_cols'] = 4// sets "Number of columns for the album list = 3"
$CONFIG['first_level'] = 0//sets "Show first level album thumbnails in categories = no".


// HTML template for template sys_menu spacer
$template_sys_menu_spacer ="<br />";

// HTML template for gallery admin menu
$template_gallery_admin_menu = <<<EOT
<hr />
<!-- BEGIN admin_approval -->
<a href="editpics.php?mode=upload_approval" title="{UPL_APP_TITLE}">{UPL_APP_LNK}</a><br />
<!-- END admin_approval -->
<a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a><br />
<a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a><br />
<a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a><br />
<a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a><br />
<a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a><br />
<a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a><br />
<a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a><br />
<!-- BEGIN log_ecards -->
<!--<a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a><br />
<!-- END log_ecards -->
<a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a><br />
<a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a><br />
<a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a><br />
<a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a><br />
<!-- BEGIN documentation -->
<a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}" target="cpg_documentation">{DOCUMENTATION_LNK}</a><br />
<!-- END documentation -->
EOT;
// HTML template for user admin menu
$template_user_admin_menu = <<<EOT
<hr />
<a href="albmgr.php" title="{ALBMGR_TITLE}">{ALBMGR_LNK}</a><br />
<a href="modifyalb.php" title="{MODIFYALB_TITLE}">{MODIFYALB_LNK}</a><br />
<a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a><br />
<a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a>
EOT;

?>


// HTML template for the image navigation bar
        $template_img_navbar = <<<EOT
            <tr class="graybox">
<!--                 <td align="center" valign="middle" class="navmenu" width="48">
<!--                         <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/thumbnails.gif" align="middle" border="0" alt="{THUMB_TITLE}" /></a>
<!--                 </td>
<!--                 <td align="center" valign="middle" class="navmenu" width="48">
<!--                         <a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
<!--                 </td>
<!--                 <td align="center" valign="middle" class="navmenu" width="48">
<!--                         <a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
<!--                 </td>
<!--                 <td align="center" valign="middle" class="navmenu" width="100%">
<!--                         {PIC_POS}
<!--                 </td>
<!-- BEGIN report_file_button -->
<!--                 <td align="center" valign="middle" class="navmenu" width="48">
<!--                         <a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
<!--                 </td>
<!-- END report_file_button -->
<!-- BEGIN ecard_button -->
<!--                 <td align="center" valign="middle" class="navmenu" width="48">
<!--                         <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif"  border="0" align="middle" alt="{ECARD_TITLE}" /></a>
<!--                 </td>
<!-- END ecard_button -->
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0" align="middle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif"  border="0" align="middle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>

EOT;

// HTML template for filmstrip display
$template_film_strip = <<<EOT

        <tr>
         <td valign="top" style="background-image: url({TILE1});"><img src="{TILE1}" alt="" border="0" /></td>
        </tr>
        <tr>
        <td valign="center" class="thumbnails" align="center">
          <table width="100%" cellspacing="0" cellpadding="3" border="0">
              <tr>
                 <td width="50%"></td>
                 {THUMB_STRIP}
                 <td width="50%"></td>
              </tr>
          </table>
        </td>
        </tr>
        <tr>
         <td valign="top" style="background-image: url({TILE2});"><img src="{TILE2}" alt="" border="0" /></td>
        </tr>
<!-- BEGIN thumb_cell -->
                <td valign="top" align="center">
                                        <a href="{LINK_TGT}">{THUMB}</a>
                                        {CAPTION}
                                        {ADMIN_MENU}
                </td>
<!-- END thumb_cell -->
<!-- BEGIN empty_cell -->
                <td valign="top" align="center" >&nbsp;</td>
<!-- END empty_cell -->

EOT;

Stramm

for the breadcrumb (as ~mike~ already pointed out):
http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#NoLastUploads

to remove icons from the image nav bar:
copy $template_img_navbar from themes/sample/theme.php to the theme you're actually using and modify it to your needs

next time stick to the 'one question per thread' rule, please