X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Moved my search box to the speed bar and now my search is not working? (https://forum.x-cart.com/showthread.php?t=46787)

dolaghan 04-06-2009 08:58 AM

Moved my search box to the speed bar and now my search is not working?
 
I have moved my search box to the speed bar on my site but since doing it (or at least i think its since this) the search function no longer works on my site.
Any ideas what might have casued this?

Regards

Victor D 04-07-2009 12:36 AM

Re: Moved my search box to the speed bar and now my search is not working?
 
There is a javascript error on your page: "initSlidingContent is not defined"
This error can mess with all other javascript execution.
(Search form is submitted by javascript)

dolaghan 04-07-2009 01:05 AM

Re: Moved my search box to the speed bar and now my search is not working?
 
ive removed the reference to this but same problem, i have noticed IE says error on page also.
thanks for your help.

Victor D 04-07-2009 01:17 AM

Re: Moved my search box to the speed bar and now my search is not working?
 
It seems you have completely removed body tag...

dolaghan 04-07-2009 01:20 AM

Re: Moved my search box to the speed bar and now my search is not working?
 
ok now im getting a little stuck, i dont recall removing a body tag.
could you advise how to fix?

Victor D 04-07-2009 01:27 AM

Re: Moved my search box to the speed bar and now my search is not working?
 
just compare your skin1/customer/home.tpl and skin1_original/customer/home.tpl as i have no installed 4.1.8 too look at
There should be somethin like
Code:

<body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}>
in both files

dolaghan 04-07-2009 01:45 AM

Re: Moved my search box to the speed bar and now my search is not working?
 
have now added that in the hime.tpl but still same problem?

Victor D 04-07-2009 02:02 AM

Re: Moved my search box to the speed bar and now my search is not working?
 
Finally get it
You should close login form first
after the lines
Code:

    <button class="simple-button simple-arrow-button" type="submit" title="Log in">
      Log in
    </button>

    <a class="simple-button simple-arrow-button2" href="register.php" title="Register"><span style="color:#fff;">Register</span></a>
</div>

add
Code:

</form>
tag

Victor D 04-07-2009 02:02 AM

Re: Moved my search box to the speed bar and now my search is not working?
 
Please delete all my duplicated posts beneath since I have no idea why there are 6 extra messages was sent. Thanks

dolaghan 04-07-2009 02:32 AM

Re: Moved my search box to the speed bar and now my search is not working?
 
Thanks is now working!


All times are GMT -8. The time now is 05:11 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.