-
AuthorPosts
-
November 19, 2013 at 2:23 pm #192383
Hello,
i’v setup JAK2Fitler in http://mousouda.pointin.gr/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=16&Itemid=133 and i have enabled Ajax Filter. Even the ajax request returns the correct results the container keeps saying “No Item found!”. I’v noticed thatvar content = jQuery(text).find('#k2Container');
in jak2filter.js gives 0 but i’v checked and k2Container exists in the response… Any thoughts?Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
November 21, 2013 at 3:11 am #512936Hello Stvak,
In order to fix your problem, please go to file:
/modules/mod_jak2filter/assets/js/jak2filter.js
find this line:
var content = jQuery(text).find('#k2Container');
change to:
var content = jQuery(text).filter('#k2Container');
Remember to backup your file before processing.1 user says Thank You to Luna Garden for this useful post
November 21, 2013 at 4:18 pm #513020Hello,
i works thank you!November 21, 2013 at 5:00 pm #513028Is it any way to also fix autocomplete to work with Greek characters?
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
November 22, 2013 at 3:34 am #513086HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
November 23, 2013 at 8:07 am #513241Hi There,
Please open file components/com_jak2filter/models/suggestions.php and go to line 72.
– Find code line
[PHP]$where[] = ‘ extra_fields LIKE ‘%{“id”:”‘ . $xf_id . ‘”,”value”:”%’ . $key_value . ‘%’ ‘;[/PHP]
– Change it to
[PHP]$where[] = ‘ extra_fields REGEXP ‘{“id”:”‘ . $xf_id . ‘”,”value”:[^{]*”[^”]*’ . $key_value . ‘[^”]*”‘ ‘;[/PHP]
Hope this helps.1 user says Thank You to HeR0 for this useful post
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by stvak 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum