Carbon theme - move search box

Edward Andrews

Joined: 2005-12-06
Posts: 4
Posted: Wed, 2008-11-26 11:07

I'm using the carbon theme at http://aldreth.com/gallery

I've turned on the search box by selecting as a block to appear in the album and photo pages using the theme options page. But I'd like to move the box to a more obvious place - preferably up on the right hand side, at the same level as the pop out sidebar and slideshow buttons (which are on the left).

I've looked at theme.tpl, photo.tpl and album.tpl and think that the box must be being put in by photo.tpl and album.tpl, but I can't work out where or how.

Does anyone have any ideas?

Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2008-11-26 14:39

the search allong with other blocks is shown with

		<div class="gbBlock">
		  {* Show the album blocks chosen for this theme *}
		  {foreach from=$theme.params.albumUpperBlocks item=block}
		    {g->block type=$block.0 params=$block.1}
		  {/foreach}
		</div>

if you want to move all the blocks, including the search block, move that bit of code about.
I think you can move the search block to the sidebar.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Edward Andrews

Joined: 2005-12-06
Posts: 4
Posted: Wed, 2008-11-26 15:28

Great thanks for that - I've managed to move the seach box to the top - but now I can't manage to align it on the right of the page. I'm guessing I need to change the theme.css or add an id or class to the search box.

I don't want to put the search box in the sidebar because lots of people don't seem to notice the sidebar at all.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2008-11-27 01:59

looks to me like you got it sorted.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team