-
AuthorPosts
-
ekhymosis06 Friend
ekhymosis06
- Join date:
- March 2014
- Posts:
- 42
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
April 11, 2014 at 1:14 am #196657The module takes all text in the content article and no the keywords only… so, my question is: is possible show results by article keywords only?
if this is not possible … there any way to filter results by tags? but in the search box, not with drop-down selection.
I need that the results are not shown by any word in the content because the results are not as accurate.
Thanks
(sorry for my bad english)Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
April 11, 2014 at 4:14 am #530489Please open the setting form of JA K2 filter module and select “Extrac phrase” option for the “keyword search mode” setting.
Save the form and test again if it works as you expect.
1 user says Thank You to Thanh Nguyen Viet for this useful post
ekhymosis06 Friendekhymosis06
- Join date:
- March 2014
- Posts:
- 42
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
April 30, 2014 at 1:16 am #532935thanks but not works…
Apparently, the module is designed to look up fields in the content/title/keywords at the same time…. not only 1.
Thanks again..
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
April 30, 2014 at 7:33 am #532970Hello,
I’m sorry, I misunderstood your question.
If you want search result to return items that has keyword field matching a given search keyword, please try solution below:
– Upgrade JA K2 Filter component to latest version 1.1.2
– Once done, open the file: components/com_jak2filter/models/itemlist.php
– Find the code snippet:
[PHP]( LOWER(i.title) LIKE “.$quoted.” OR LOWER(i.introtext) LIKE “.$quoted.” OR LOWER(i.`fulltext`) LIKE “.$quoted.” OR LOWER(i.extra_fields_search) LIKE “.$quoted.” OR LOWER(i.image_caption) LIKE “.$quoted.” OR LOWER(i.image_credits) LIKE “.$quoted.” OR LOWER(i.video_caption) LIKE “.$quoted.” OR LOWER(i.video_credits) LIKE “.$quoted.” OR LOWER(i.metadesc) LIKE “.$quoted.” OR LOWER(i.metakey) LIKE “.$quoted.”)[/PHP]– And replace it with:
[PHP]( LOWER(i.metakey) LIKE “.$quoted.”)[/PHP]Regarding filter by tag question, JA K2 filter just provides an option to select tag from drop box now, it does not have an option to display tag field as text box field.
1 user says Thank You to Thanh Nguyen Viet for this useful post
ekhymosis06 Friendekhymosis06
- Join date:
- March 2014
- Posts:
- 42
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
May 3, 2014 at 6:48 am #533389WOW!!!
works perfect… Thank you so much.
ekhymosis06 Friendekhymosis06
- Join date:
- March 2014
- Posts:
- 42
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
June 5, 2014 at 5:12 pm #537930Now, with the last upgrade (1.1.3), this hack is not applicable.
:((Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
June 6, 2014 at 1:38 am #537947We have updated keyword search function in version 1.1.3 which allows you to search with advanced terms and multiple terms at the same time. You can learn more about this feature here
http://www.joomlart.com/documentation/joomla-component/ja-k2-filter#new-featureIn you case, if you want to search in meta data only, you need add the prefix inmetadata: before a keyword (E.g: inmetadata:”some words”)
You can play around with this feature on our demo site here
http://joomla-extensions.demo.joomlart.com/P/S: as you can see on our demo page, in next version we have added tip for how to make advanced search with keyword field. You should add this tip next to keyword serch field on your search form, so it can help your user easierly search on your site.
1 user says Thank You to Thanh Nguyen Viet for this useful post
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by Thanh Nguyen Viet 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum