Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Slideshow entfernen  (Read 2684 times)

0 Members and 1 Guest are viewing this topic.

IrrerIvan

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 182
Slideshow entfernen
« on: August 30, 2006, 07:26:00 am »

Hallo,
ist es möglich die Slidshow zu entfernen
wenn ja wie.

Gruß
« Last Edit: August 30, 2006, 02:12:55 pm by fwe77 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Slideshow entfernen
« Reply #1 on: August 30, 2006, 07:40:58 am »

Wie üblich: theme bearbeiten. Dort Link zur Slideshow aus dem Menü entfernen.
Bearbeite themes/dein_theme/theme.php, suche
Code: [Select]
// HTML template for the image navigation barWenn vorhanden, dann entferne den Link wie unten beschrieben. Wenn nicht vorhanden, dann kopiere
Code: [Select]
// HTML template for the image navigation bar
$template_img_navbar = <<<EOT

        <tr>
                <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;
aus themes/sample/theme.php in eine neue Zeile vor
Code: [Select]
?>Deines theme.php

Ersetze dann
Code: [Select]
                <!--<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>
mit
Code: [Select]
                <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>-->
oder lösche den Part.
Logged

IrrerIvan

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 182
Re: Slideshow entfernen
« Reply #2 on: August 30, 2006, 08:05:58 am »

Vielen dank

Gruß
Logged

IrrerIvan

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 182
Re: Slideshow entfernen
« Reply #3 on: August 30, 2006, 02:05:09 pm »

Hatt alles geklappt.
Danke nochmal.
Kann geschlossen werden.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.