-
AuthorPosts
-
March 31, 2014 at 8:22 pm #196325
I am developing site with jour JA k2 filter. Everithing works except 2 things.
One I can not disable K2 plugins to shown on filter page. I have installed contact form plugin and it should be seen only on Items pages, when you open article. But This contact form is displayed also when you filter items. I try to disable K2 plugins in system setings but it does not work.
When I disable it in K2 categorie view then it works. but in filter does not work.Second problem is that keybord search field does not work. Basic joomla search works but your does not work. I try different settings but I could not make it work. Im am not programer but I understend HTML and CSS.
This domain is developing and I will transfer all files to onother onother domain when I finised site.
Sorry on 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 1, 2014 at 2:58 am #528872Regarding the K2 plugin trigger issue, it occured because K2 does not check the setting when turning on/off K2 plugins on search view. To resolve this, please open the
/components/com_k2/models/item.php file:Find this code snippet:
[PHP]if (($view == ‘item’ && $item->params->get(‘itemK2Plugins’)) || ($view == ‘itemlist’ && ($task == ” || $task == ‘category’) && $item->params->get(‘catItemK2Plugins’)) || ($view == ‘itemlist’ && $task == ‘user’ && $item->params->get(‘userItemK2Plugins’)) || ($view == ‘itemlist’ && ($task == ‘search’ || $task == ‘tag’ || $task == ‘date’)))[/PHP]And replace it with:
[PHP]if (($view == ‘item’ && $item->params->get(‘itemK2Plugins’)) || ($view == ‘itemlist’ && ($task == ” || $task == ‘category’) && $item->params->get(‘catItemK2Plugins’)) || ($view == ‘itemlist’ && $task == ‘user’ && $item->params->get(‘userItemK2Plugins’)) || ($view == ‘itemlist’ && $item->params->get(‘catItemK2Plugins’) && ($task == ‘search’ || $task == ‘tag’ || $task == ‘date’)))[/PHP]Regarding the second issue, when I press enter on keyword field, the search form is still submitted. Could you please explain in more detail on this issue? I will give you suggestion then.
April 1, 2014 at 7:12 am #528911I changed the code and it still does not work. I thing the problem is in JA K2 component. Do you have other idea.
I do not understand you question about the keyword search. Keyword search in K2 filter does not work. I always getting the same result of search what ever your type in search text field.
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
April 1, 2014 at 8:12 am #528929Please PM me FTP credentials of your site, I’ll help you to debug and resolve this issue.
April 1, 2014 at 8:26 am #528933I send you FTP and login credentials in PM.
April 1, 2014 at 10:14 am #528953Do you have some new information or solution for my case.
April 1, 2014 at 10:29 am #528959I made changes in settings in Category items listing and it seams that now it works. Maybe code which you send to me solved this problem.
Only keyword search is not working in JA K2 filter.
Do you have solution for this.Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
April 2, 2014 at 2:36 am #529100For quick fix against the keyword search issue, I tried to apply the solution that mentioned in this thread.
The keyword search seems to work properly now, for instance:
http://fs-aqueductus-gradnja.hr/index.php/en/component/jak2filter/?Itemid=101&isc=1&searchword=Aqua&st=any&language=en-GBK2 has just updated keyword search function and engine of K2 item table (from MyIsam to InnoDB). We will update this function to our component in upcoming version.
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Thanh Nguyen Viet 10 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum