test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • roland_web Friend
    #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 Friend
    #528872

    Regarding 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.

    roland_web Friend
    #528911

    I 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 Friend
    #528929

    Please PM me FTP credentials of your site, I’ll help you to debug and resolve this issue.

    roland_web Friend
    #528933

    I send you FTP and login credentials in PM.

    roland_web Friend
    #528953

    Do you have some new information or solution for my case.

    roland_web Friend
    #528959

    I 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 Friend
    #529100

    For 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-GB

    K2 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.

Viewing 8 posts - 1 through 8 (of 8 total)

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