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: Wie mache ich die Suchfunktion immer sichtbar?  (Read 4236 times)

0 Members and 1 Guest are viewing this topic.

michael1984

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Wie mache ich die Suchfunktion immer sichtbar?
« on: January 26, 2006, 02:31:42 pm »

Hallo,

ich habe unter http://www.pr-jaeger.de/www/tibase1/ eine Coppermine-Galerie. Folgendes Problem:

Wenn man in der Navi links auf Suche klickt wird die search.php aufgerufen und das Suchen funktioniert, jetzt habe ich das "form" der Suchfunktion in mein theme-template hineinkopiert, aber es funktioniert nicht.

Was muss ich machen, das das Sucheingabefeld inklusive Butten aus der search.php immer zusätzlich irgendwo unter meiner navi zu sehen ist? Die Leute sollen quasi immer suchen können und nicht erst auf suche klicken müssen.

Vielen Dank!
« Last Edit: January 27, 2006, 04:25:20 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Wie mache ich die Suchfunktion immer sichtbar?
« Reply #1 on: January 26, 2006, 06:41:34 pm »

Kopiere doch mal den HTML-Output des Suchen-Formulars in Dein template
Code: [Select]
<form method="post" action="thumbnails.php" name="searchcpg">
<!-- Start standard table -->
<table align="center" width="60%" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh1" colspan="1">Search the file collection</td>

        </tr>
        <tr>
            <td class="tableb" align="center" >
                <input type="text" style="width: 80%" name="search" maxlength="255" value="" class="textinput" />
                <input type="submit" value="search" class="button" />
                <input type="hidden" name="album" value="search" />
            </td>
        </tr>
                <tr>

                        <td>
                                <table align="center" width="60%">
                                        <tr>
                                                <td>Search in:</td>
                                                <td align="center">Age:</td>
                                        </tr>
                                        <tr>
                                                <td><input type="checkbox" name="title" id="title" class="checkbox" checked="checked" /><label for="title" class="clickable_option">Title</label></td>

                                                <td align="right">Newer than <input type="text" name="newer_than" size="3" maxlength="4" class="textinput" /> days</td>
                                        </tr>
                                        <tr>
                                                <td><input type="checkbox" name="caption" id="caption" class="checkbox" checked="checked" /><label for="caption" class="clickable_option">Caption</label></td>
                                                <td align="right">Older than <input type="text" name="older_than" size="3" maxlength="4" class="textinput" /> days</td>

                                        </tr>
                                        <tr>
                                                <td><input type="checkbox" name="keywords" id="keywords" class="checkbox" checked="checked" /><label for="keywords" class="clickable_option">Keywords</label></td>
                                                <td>&nbsp;</td>

                                        </tr>
                                        <tr>
                                                <td><input type="checkbox" name="owner_name" id="owner_name" class="checkbox" /><label for="owner_name" class="clickable_option">Owner name</label></td>

                                                <td align="right"><select name="type" class="listbox">
                                                        <option value="AND" selected="selected">Match all words (AND)</option>
                                                        <option value="OR">Match any words (OR)</option></select>
                                                </td>
                                        </tr>
                                        <tr>
                                                <td><input type="checkbox" name="filename" id="filename" class="checkbox" /><label for="filename" class="clickable_option">Filename</label></td>

                                                <td>&nbsp;</td>
                                        </tr>
                                               
                                               
        <tr>
                <td>
                        <input type="checkbox" name="pic_raw_ip" class="checkbox" id="pic_raw_ip" /><label for="pic_raw_ip" class="clickable_option">IP address</label>
                </td>
        </tr>
                                </table>

                        </td>
                </tr></table>
<!-- End standard table -->
</form>
Musst ggf. noch das Ziel des Formulars (action="thumbnails.php") anpassen.
Logged

michael1984

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Wie mache ich die Suchfunktion immer sichtbar?
« Reply #2 on: January 27, 2006, 09:00:48 am »

Vielen vielen Dank!

Es hat tatsächlich funktioniert. Echt super nett von dir! *freu*
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.