All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

I have to refresh the frontend to show correct low reorder entries

Tamas Benke 17 Oct 2016 11:27 problem, rejected

I have to refresh the frontend to show low reorder entries as a menu. Until that it shows the same (single) entry in the menu that is below the low reorder tag in the template as an article (page). If I use channel entries tag in menu it works correctly, however in this case I lost the custom order functionality for the menu. I know I could use other plugins for the menu, but I would try to avoid this since the menu is a one level menu.

Before:


After refresh:

Replies

  1. Low 17 Oct 2016 12:00

    What are your PHP, EE and LR versions? Also, what is the opening Low Reorder tag you're using?

  2. Tamas Benke 17 Oct 2016 14:28

    PHP - PHP Version 5.3.29
    EE - v2.11.3
    Low reorder: v2.3

    The code is below:

    {exp:low_reorder:entries set="pages_set" channel="pages" sort="asc" category="55" disable="member_fields|categories|pagination" status="open|headline|featured" dynamic="no"}
    {title}
    {/exp:low_reorder:entries}

  3. Low 17 Oct 2016 14:35

    I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.

  4. Tamas Benke 17 Oct 2016 14:58

    Thank you very much!
    I sent you the access.

  5. Low 17 Oct 2016 15:32

    From the debug data, I can see that Low Reorder fetches the correct entries and calls the channel entry tag afterwards, even when it only displays one entry:

    (0.103404 / 5.12MB) Low Reorder: Retrieving set from database 
    (0.104537 / 5.14MB) Low Reorder: Retrieving cat_id from parameter
    (0.104569 / 5.14MB) Low Reorder: Getting ordered entry_ids from database
    (0.105711 / 5.14MB) Low Reorder: Setting parameters status="open" channel="pages" fixed_order="16|37|41|50"
    (0.105726 / 5.14MB) Low Reorder: Calling the channel module


    Then EE proceeds to generate the entries output but it only outputs one. I'm not sure why, but it isn't because something Low Reorder does or doesn't do. Rather, there might be some caching or add-on conflict in play here, like Transcribe. Can you check with them?

  6. Tamas Benke 17 Oct 2016 18:11

    I think it is due to Transcribe. However I couldn't really test it because the site structure is based on the locale segments. From what I could see it worked without refresh if I wrote the url manually in the browser's address bar.

    With transcribe I don't understand why Low Reorder module parses the proper entry IDs only the second time if I refresh the page?
    What would you recommend for a solution? :)

  7. Low 17 Oct 2016 18:37

    Follow these steps:

    - Clear cache (for example by saving a Low Reorder set)
    - Visit the Contactez-nous page
    - See there's only one item in the menu
    - Refresh
    - All items are in the menu.

    This is repeatable.

    Now run this query:

    UPDATE exp_extensions SET enabled = 'n' WHERE class = 'Transcribe_ext' AND hook = 'channel_entries_query_result';


    You will now see that it will work normally, without refreshing. You can turn the Transcribe hook back on by changing 'n' to 'y' in the above query. Then the above steps are replicable again.

    Therefore, the issue lies with Transcribe. Not with Low Reorder.

  8. Tamas Benke 17 Oct 2016 19:17

    Yes, you are correct it suppresses the issue.
    I submit a ticket to eeharbor.

    Thanks for the help!

  9. Ryde Digital 8 Jan 2017 11:31

    Hey Tamas, sorry to bump this thread but did you ever find a solution for this? Having the same issues.

  10. TamasBenke 8 Jan 2017 11:42

    Hey There,

    I submitted a ticket to eeharbor, but they didn't really bother to answer my question. So I simply turned the channel_entries_query_result hook off per Low's hint and seems like Transcribe hook works without this hook in my case.

  11. Ryde Digital 8 Jan 2017 11:44

    Ah OK. Thank you. Have a nice day.