Elxis CMS Forum
Support => Elxis 4.x/5.x DEV => Topic started by: maple on May 03, 2013, 14:45:52
-
Hi,
first I want to say that the search tool it's very powerful.
The only think it's that in the search results pages, visitor need to search another time looking the results for the keyword, and it could take an extra time if Elxis found many results.
It would be interesting a yellow-marker keywords to find quickly the paragraph where the keyword is. I just attach an screenshot below.
Another question, ¿what criteria is using elxis search to display images? And, it seems that not search into all the folders. The search component it's already configurated for some folders path.
Thanks a lot
-
We preferred the search results to be light.
Search engine "images" has an "search into" option with 3 values: a. Content, b. File-system and c. Both.
To search for image files in file-system pick either option b or c. In this case you must provide the relative paths to the folders you want the engine to search into. Sub-folders are not taken into account. You can set up to 10 such paths.
Example
media/images/
media/images/articles/
media/images/categories/
media/images/something_else/
Bug fix
The images search engine in Elxis 4.0 has a bug that needs to be fixed in order searching in filesystem to work correctly.
Open file components/com_search/engines/images/images.engine.php
Go to line 48 and change this:
$dir = trim('/', $dir).'/';
to this:
$dir = trim($dir, '/').'/';
The above fix has been applied on Elxis 4.1 Poseidon.
-
Thanks for your response.
Now all the search process Works pefect!
About yellow-marker:
Light. I understand. Could be interesting an intermediate solution. Let me explain:
- The search results page, like now, light. With no changes.
- But, if the visitor visit one of the result links, when open the article, then could be interesting that the keywords are displayed in yellow marker.
Reason: In some long texts, visitor need to waste time searching the paragraph where the keyword is. But if the keyword is in yellow-marker, he will find quickly.
Thanks a lot
-
Done!
This feature added in Elxis 4.1 Poseidon. Now on article page if you provide the "q" option in the url the matching text will be highlighted.
How this is linked to search? A "Highlight" option added in Content search engine if you enable it then on search results page the links to articles are formatted like this:
http://www.example.com/category/article.html?q=something
If you click that link you will go to the article's page and all occurrences of "something" will be highlighted.
See attached screenshot.
-
Uoooohh, yeess! Very quick! Thank you! I see that in the 4.1 version there are a lot of very good changes. I can't wait! Great job!