Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Moved my search box to the speed bar and now my search is not working?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-06-2009, 08:58 AM
 
dolaghan dolaghan is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 51
 

Default 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
__________________
Now on X-Cart version 4.1.8
Reply With Quote
  #2  
Old 04-07-2009, 12:36 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default 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)
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #3  
Old 04-07-2009, 01:05 AM
 
dolaghan dolaghan is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 51
 

Default 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.
__________________
Now on X-Cart version 4.1.8
Reply With Quote
  #4  
Old 04-07-2009, 01:17 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

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

It seems you have completely removed body tag...
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #5  
Old 04-07-2009, 01:20 AM
 
dolaghan dolaghan is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 51
 

Default 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?
__________________
Now on X-Cart version 4.1.8
Reply With Quote
  #6  
Old 04-07-2009, 01:27 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default 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
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #7  
Old 04-07-2009, 01:45 AM
 
dolaghan dolaghan is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 51
 

Default 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?
__________________
Now on X-Cart version 4.1.8
Reply With Quote
  #8  
Old 04-07-2009, 02:02 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default 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
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #9  
Old 04-07-2009, 02:02 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default 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
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #10  
Old 04-07-2009, 02:32 AM
 
dolaghan dolaghan is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 51
 

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

Thanks is now working!
__________________
Now on X-Cart version 4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:01 PM.

   

 
X-Cart forums © 2001-2020