New Zenner
- Join Date:
- Jul 2007
- Posts:
- 12
- Plugin Contributions:
- 0
Searchbox in Breadcrumb
Sorry if this has been asked already, I did a quick search and found nothing.
Is it possible to have the search box in the breadcrumbs?
Views: 1,257
New Zenner
Sorry if this has been asked already, I did a quick search and found nothing.
Is it possible to have the search box in the breadcrumbs?
Obaa-san
Almost anything is possible.
You could try moving the code for the search from the tpl_header.php to the tpl_main_page.php
New Zenner
I think I located the search code in tpl_header.php:
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
The trouble is I don't know where to inject it into tpl_main_page.php.
Putting it directly after
<div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
doesn't seem to do anything.
The page is http://www.fashionfiesta.ca/zencart. I want the search input field to right-align so it appears under the logo.
I guess it's no biggie if it's not possible, but it'd be something that's nice to have.
Thanks in advance.
Obaa-san
Make sure you have the search enabled for the Single Column status only in the Admin> Tools> Layout Boxes Controller
New Zenner
A-HA! It's perfect! :)
Thank you very much for the quick response, I wasn't expecting to get it so quickly!
Obaa-san
No problem - happened to be in the right place at the right time.
Don't forget the coffee fund. :D
New Zenner
Great.. just showed it to the client cause she asked for it in the first place and now she doesn't like it.
Oh well at least I learned something.
Will be glad to buy you guys a coffee. Cheers.
Obaa-san
Clients - gotta' love'em.
Tell staff why this post should be reviewed.