Post by SubatWest » Mon Nov 10, 2014 12:10 am

Hi,
I am continuing to build my site on Localhost. I have created a panel in which I want to place a search box. The panel displays correctly and everything looks fine HOWEVER when I try a search it dos not carry it out. Nothing appears and there is no error message. this is my code:

<div class="panel panel-default">
<div class="panel-body">
<div class="col-md-4 "><?php echo $search; ?>
</div>

I am at the very beginning of understanding code etc. so bear with me. What variables and pages affect the search and why would the code not work? Any advice welcomed.
Thanks

Active Member

Posts

Joined
Fri Oct 31, 2014 1:29 am

Post by sam87 » Mon Nov 10, 2014 10:59 pm

Does clicking submit take you to the search page with no result, or does nothing happen at all?

Look at /catalog/view/javascript/common.js, on line 57 & 68 it defines the path the search is called from; if you have altered this it could be the problem.

Hope this helps.

Newbie

Posts

Joined
Mon Nov 10, 2014 10:54 pm

Post by SubatWest » Thu Nov 13, 2014 3:40 am

Thanks for response. The issue was in $search was not executing correctly. Now sorted.

Active Member

Posts

Joined
Fri Oct 31, 2014 1:29 am
Who is online

Users browsing this forum: No registered users and 5 guests