Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Frontend search not working. 26 Feb 2013 10:10 #6839

Hi there, I've created a component using j-cook and while testing in the sandbox the front end search is working fine, but when i download my component and install on a localhost testing server the search does not work on the frontend. the backend seems fine and works no problem. the only errors i can see that pertain to it is a javascript error "jQuery(...).jdomSearchBox is not a function" and the highlighted line of code is "jQuery("#filter_search_1").jdomSearchBox({});" so close to finishing the project but really need the search functionality.

After doing a bit of digging and experimenting it seems its a conflict with my templates .js file anyone know how to stop this kind of conflict?

Please Log in or Create an account to join the conversation.

Re: Frontend search not working. 26 Feb 2013 19:05 #6842

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
Isn't there an option to set no-conflict mode in your template's options ?
What options did you choose in your cook project config tab ?

Please Log in or Create an account to join the conversation.

Re: Frontend search not working. 27 Feb 2013 09:21 #6845

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
oh dear!
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

Please Log in or Create an account to join the conversation.

Re: Frontend search not working. 27 Feb 2013 10:34 #6852

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
This JS script is totally deprecated in 2.5

It was a stupid thing to create a placeholder.
Delete all the calls of it and you can add the placeholder attrib to do the job.

That's it.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.115 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started