Moving Search Box to Header

nchenier

Joined: 2005-12-03
Posts: 16
Posted: Sun, 2009-04-19 14:13

Hello

I have searched the forum but haven't been able to find this answer.

I am using Galley 2 and don't want a sidebar at all, but I do want to move the search box into the title bar(the way it was in gallery1)

site is: http://www.telegraphjournalphotos.com/gallery2

what do I need to copy and where do I need to place it?

Thanks

Noel

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-04-19 18:52

http://gallery.menalto.com/node/79334

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nchenier

Joined: 2005-12-03
Posts: 16
Posted: Sun, 2009-04-19 20:13

Hi Dave

Thanks for replying. where should I be placing
{g->block type=search.SearchBlock} ?

In the theme.tpl? theme css?

Sorry, I don't know which part controls the top nav bar.

noel

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-04-19 20:56

Add:

<script type="text/javascript" src="{g->url href='modules/search/SearchBlock.js'}"></script>
{g->block type=search.SearchBlock}

to album.tpl close to
<h2> {$theme.item.title|markup} </h2>
You might have ot play around with placement in the table and cells.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team