[SOLVED] [JS error will not allow module to submit searchword] Search module doesn't display results after upgrade

More
8 years 11 months ago - 8 years 11 months ago #58350 by agata
Hello,
I've just upgraded FC to 3.0.9-rc and Joomla to 3.4.5 and now when I use the FC search module, it leads me to the correct search page and the search box on that page is pre-filled with the correct search term, however the results don't display. They only appear when I use the search box on the search page. Any ideas as to what might be causing this?

The "direct button" mode acts the same way (brings me to the search page but doesn't display results) but it would be great if it worked correctly as this search is for a product code only so there's only 1 result for each search (didn't notice this option before, a new addition?).

The module leads to a page with the URL /search but the search form on the search page gets a URL /search?searchword=ss429&searchphrase=natural&cc=p after the search has been performed.

Thanks,
Agata
Last edit: 8 years 11 months ago by agata.

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

More
8 years 11 months ago #58355 by ggppdk
Hello

please update to v3.0.9-rc2 (12 November 2015), it fixes issues found in v3.0.9-rc

about the issue with search module, it seems that the search menu item configuration is not used by the module
(in the search module you can select a search menu item to use its configuration and link to it)

after upgrading re-test
and then if still having an issue send a PM and i will see why configuration of search menu item is not being applied by the module


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
8 years 11 months ago #58394 by agata
Hello,
The module features the itemid of the menu item and it used to work but now it doesn't. I upgraded FC to RC3 and still nothing. I will send you the access data to the site.
Thanks,
Agata

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

More
8 years 11 months ago - 8 years 11 months ago #58404 by ggppdk
Hello

About search menu configuration

1. you did not make at least field "title" to be "(advanced) text searchable",

you only have "Project code", (i guess that is what you want with the module) you can limit searchable fields in the search menu item,
thus you can mark fields as text searchable only the "Project code", and not let all searchable fields participate in search,

... but text autocomplete will use ALL fields,
- so maybe we need to update our text search autocomplete code to use search menu item configuration !

2. mistake?: you have chosen to use "phrase" as word combination, this does not allow partial matches
use: "any words", this will allow you to search for code "ss6" which will return "ss679", etc

3. problem(see my next answer about module): the jQuery loading is broken in the search view, thus "text autocomplete" will not work
you can use jQueryeasy or fix it someway, and thus autocomplete will help the user search existing words

Also: after marking of a field as text searchable, you will get a warning to re-index, remember to do it


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 11 months ago by ggppdk.

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

More
8 years 11 months ago #58405 by ggppdk
Hello

about module i found why it is not working
- the search word is added to the URL via javascript

but you have a javascript error in your page:
ReferenceError: jQuery is not defined tmpl-common.js:204:1
ReferenceError: jQuery is not defined projects:34:3
ReferenceError: Joomla is not defined projects:58:7

thus the search word is not added to the URL


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
8 years 11 months ago #58412 by agata
All red errors in the console have been resolved, however the problem persists and I get "TypeError: this.form.searchword is undefined"
Thanks,
Agata

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.306 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline