Createing a page with just a search Bar on exc,?

Loonatic

Joined: 2009-07-01
Posts: 1
Posted: Wed, 2009-07-01 17:27

I need a page so where the search for the gallery is in the middle of the page, and a logo just ontop, Possible like google but searches my gallery exc, any ideas?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-07-01 21:54

Here is the code for a search box and go button:

<form action="http://EXAMPLE.COM/gallery3/index.php/search" id="gQuickSearchForm">
  <ul>
    <li>
      <label for="gSearch">Search the gallery</label>
      <input type="text" name="q" id="gSearch"/>
    </li>
    <li>

      <input type="submit" value="Go" />
    </li>
  </ul>
</form>

You will have to style it as you like or remove the <ul> and <li>

Is that what you are after?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
vallu

Joined: 2009-06-04
Posts: 25
Posted: Fri, 2009-07-03 17:45

I would like to know is it possible to create in Gallery a HTML/PHP page where you can put text or something else instead of albums or photos. That would be something like search page, but with other stuff. For example it could be a page with contact form or information about your site.
I hope you understand what I mean :)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-07-04 02:51

You could use the mini CMS module, the contact ownner module or the about module to name a few.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
vallu

Joined: 2009-06-04
Posts: 25
Posted: Sat, 2009-07-04 08:13
floridave wrote:
You could use the mini CMS module

Do you mean this module http://codex.gallery2.org/Gallery2:Modules:minicms?
Does it work with Gallery3?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-07-04 15:15

yes that is the niniCMS module.

No. G2 modules do not work with G3

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
wilmario

Joined: 2006-07-07
Posts: 1
Posted: Mon, 2010-02-01 21:02

Hi,

I'm having troubles making the sipmle search-page like discribed on top of this page.
I'm using gallery 2.1 ... gallerysite = http://www.jjsgallery.be/

The form-tag i placed = <form action="http://www.jjsgallery.be/index.php/search" id="gQuickSearchForm">

This does not work.
Testpage = http://www.jjsgallery.be/zoektest.htm

What's wrong? Thnx for helping me out!
Mario,

Quote:
>> found a working solution >> http://gallery.menalto.com/node/56817