test
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • rickx Friend
    #817448

    Hallo, I still don’t have a clear picture of how things should work.

    1. I know I can put search tools (fields etc.) in a joomla module an then place that wherever I want.
      The first question is: can you please explain the thing of the result page ID? How is that thought to work? What happens if I let it empty?
    2. I have created different menu entries of type ja_k2_filter…Basically there is no explanation about those anywhere (or I missed it?). Is that where the search results should be displayed?
    3. Does it make sense to have more than one such menu entries (see 2.)?
    4. If I want to use this extension to create pre-filtered pages (e.g. 1 page having the extra field x=1 and another page having extra field x1), how can/should I do that?
    Luna Garden Moderator
    #818371

    Hi,

    The first question is: can you please explain the thing of the result page ID? How is that thought to work? What happens if I let it empty?

    The Result Page ID means after searching, your Result will show at which menu Item you choose on the list. This feature just works when you turn off SEF

    I have created different menu entries of type ja_k2_filter…Basically there is no explanation about those anywhere (or I missed it?). Is that where the search results should be displayed?

    Menu type JA K2 Filter is used to browse list Article of K2.

    Does it make sense to have more than one such menu entries (see 2.)?

    Yes, just change the category in Menu Item Setting, you’ll have different menu item.

    If I want to use this extension to create pre-filtered pages (e.g. 1 page having the extra field x=1 and another page having extra field x1), how can/should I do that?

    Then you must make two Modules, One for extra field x=1, one for other. Create menu Item with type is K2 or JA K2 filter and set module assign to this module

    rickx Friend
    #839424

    Thank you Luna,
    that was very helpful! But still it does not work like I need:

    • I created two menu points of type ja filter itemlist (leaving all options at default value)
    • I created the modules like you suggested
    • I activated the modules on the respective menu entries/pages.
      The pre-filtering does not work! It’s not clear where Joomla (and your extension) get the information for filtering. It’s not without filter, but definitely not what I choose.
      I chose to filter based on two extra fields: one should have a certain value (Location=cityname), the other, which can have one of 3 possible options, is set to accept 2 of them and let the 3rd one behind.

    The query I intercept looks like this:

    SELECT DISTINCT  
        MAX(jat1.asset_id) AS xfield_asset_id1, MIN(jat1.labels ) AS xfield_labels1,  i.*, CASE WHEN i.modified = 0 THEN i.created ELSE i.modified END as lastChanged, c.name as categoryname,c.id as categoryid, c.alias as categoryalias, c.params as categoryparams 
    
    FROM 
    
        af59h_k2_items as i 
    RIGHT JOIN 
        af59h_k2_categories AS c 
    ON c.id = i.catid 
    LEFT JOIN 
        af59h_jak2filter_taxonomy_map jatm 
    ON jatm.item_id = i.id 
    LEFT JOIN 
        af59h_jak2filter_taxonomy jat1 
    ON (jat1.id = jatm.node_id AND jat1.type = 'xfield' AND jat1.asset_id = '1') 
    
    WHERE 
    
        i.published = 1 AND 
        i.access IN(1,1,2,3,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) AND 
        i.trash = 0 AND c.published = 1 AND c.access IN(1,1,2,3,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) AND 
        c.trash = 0 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2016-01-05 18:32:44' ) AND 
        ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2016-01-05 18:32:44' ) AND 
        i.catid IN (1) 
    
    GROUP BY 
        i.id   
    ORDER BY  
        xfield_labels1 ASC

    The pre-filter is nowhere, apparently. Of all the results I get, only one satisfies the first filter (Location is correct). All others are wrong. Please help! I absolutely need this part of the extension and I’m stuck.

    Luna Garden Moderator
    #839728

    Could you post the info of your site here (Admin account, site URL and FTP account). We’ll try to fix problem on your site.

    rickx Friend
    #839868

    Now here it says 3 replies but there are two and your last update (@Luna) is not visible to me…in case there was a reply of course…

    rickx Friend
    #840355

    Hallo? Please?

    rickx Friend
    #842008
    This reply has been marked as private.
    Luna Garden Moderator
    #844002

    Hi,

    We see the problem on your site, and our developer is checking it. We’ll reply to you soon.

    Luna Garden Moderator
    #845099

    Hi,

    We checked JA K2 Filter on your site, and see that you have customized this component, that why it doesn’t work as expected.

    What did you customize on JA K2 Filter ? Could you revert it back?

    And tell me how you want to customise JA K2 Filter, if it’s minor customization, we can help you out.

    rickx Friend
    #847952

    I will check again and come back. So the best thing is uninstalling and then installing again? And I hope I will still be able to customize the k2 output pages (item.php, category.php and categoryitem.php)

    Luna Garden Moderator
    #848471

    Yes, In order to fix the issue in your site is uninstall and re-install JA K2 Component. The result page is K2 Template on your site so it won’t take affect to the result.

    rickx Friend
    #863567

    So I removed the whole extension and added it again. The result is still not what I need.
    (Let’s see if I’m able to explain this finally):

    I want a page which shows my k2 items filtered according to some extra-fields. I don’t want the search fields on top of the page. The search function should be somewhere else.
    What happens now is that the filter only works if i select stuff on the module page. Why is that?? The pre-filter should not depend on the module settings. Specially if you want to filter and not to search. Please help me!

    Luna Garden Moderator
    #865160

    Hi,

    Sorry for your inconvenience, but it was the work flow of Prefilter in JA K2 filter, if Prefilter will auto show with the module, then the filter won’t work exactly.
    Is it ok if you set to show Module on menu you want, but use CSS to hide it.

    rickx Friend
    #878364

    Please tell me what I do wrong. I deleted most of the menu structure and all the ja k2 filter parts, removed the extension and added it again.
    The pre-filter part simply does not work. I get the search fields I selected, but they are not preselected like they should and there is no search result at all.
    If I choose to have a menu entry of type ja k2 filter […] the k2 items are shown in a certain order which I can not change, no matter what I do. Basically the only thing I can use this component for is searching. That’s the only thing working.
    So I think it’s time to make this component a bit clearer and simpler to use and – most of all – make it work reliably.
    There should be a part of the documentation saying exactly what steps to do to obtain a result.

    rickx Friend
    #881523

    hallo? any answer?

Viewing 15 posts - 1 through 15 (of 17 total)

This topic contains 16 replies, has 2 voices, and was last updated by  Luna Garden 8 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum