We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 49875
    • 7 Posts
    Hello everyone,

    Basically I am using Wayfinder in order to build a menu and it sometimes returns empy or NOT RESOURCES FOUND when debugging.

    I have the same problem of this guy here: http://stackoverflow.com/questions/14408664/modx-wayfinder-different-context-menu-only-shown-after-refresh

    I tried cached and uncached, I tried to call it programmatically with a snippet and normally [[Wayfinder....]].

    The thing is that I have another call of a basically same menu that works always and perfectly and the only difference is the context.

    This is the call that sometimes does't work:

    [[!If?
    &subject=`[[*context_key]]`
    &operator=`EQ`
    &operand=`adviser-solutions`
    &then=`<div class="columnNavMobileAdviserSolutions">
    <ul class="homeFixMenu">
    <li class="levelWithChildren level-1" data-level="1">
    <a>Adviser Solutions
    <span class="icon-angle-down"></span>
    <span class="icon-angle-up"></span>
    </a>

    <div class="subnav_mobile">
    <div class="subnav_mobile_content_fixed_menu">
    [[Wayfinder?
    &startId=`0`
    &debug=`0`
    &contexts=`adviser-solutions`
    &level=`2`
    &sortBy=`menuindex`
    &sortOrder=`ASC`
    &rowIdPrefix=`#`
    &parentRowTpl=`wf_fix_menu_parentTpl_adviser`
    &rowTpl=`wf_fix_menu_row_adviser_mobile`
    &innerTpl=`wf_fix_menu_inner_mobile`
    &innerRowTpl=`wf_fix_menu_innerRow_adviser_mobile`
    &lastClass=``
    &firstClass=``
    &excludeDocs=`508,367,368,369,849,557,375,1086`
    ]]
    </div>
    </div>
    </li>
    </ul>
    </div>
    `]]


    They are both in the same chunk and I check the context in order to call the right menu.

    Any ideas what the problem might be ? Do you need other information about it ?

    Any help is highly appreciate it.

    Thank you very much in advance.

    Luca
      • 47635
      • 33 Posts
        • 36613
        • 328 Posts
        You use master and slave system ? You try use: [[!If? and [[!Wayfinder? and delete the &startId=`0` ?
          • 49875
          • 7 Posts
          Quote from: cristianb88 at May 20, 2015, 09:41 AM
          You use master and slave system ? You try use: [[!If? and [[!Wayfinder? and delete the &startId=`0` ?

          Thanks for your reply.

          Yes, I tried that too, but nothing. At the end I have written my own snippet for doing it. I suspect it is a cached problem though as I remember clear the cache helped temporarily. I don't know, I just gave up.

          Thanks!