We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27376
    • 576 Posts
    Quote from: kylej at Mar 02, 2007, 03:20 PM

    try replacing line 65 of wayfinder.inc.php with this:
    if (!$this->_config['hideSubMenus'] || $this->isHere($parentId) || $level <= 1) {
    

    That did the trick! Any side-effects of this change?

    Thanks a bunch! smiley
      • 15987
      • 786 Posts
      I don’t think so, I tried testing it out on a few different setups and it seems to be fine.
        • 19889
        • 616 Posts
        Hello,

        I very much like the approach with the config file - what I was wondering however, whether the settings in e.g. the breadcrumb config file could also be stored in a chunk - I’d prefer to have everything in the database and editable thru the manager. How could I pass a, let me call it config chunk, to the wayfinder snippet.

        thank you for your input.
          • 15987
          • 786 Posts
          currently, there is no way to setup a config as a chunk. I will think about how this might be done and see about setting something up for that.
            • 7455
            • 2,204 Posts
            I tryed to use this option to get the title from the start id but not all the place holders seem to work the only on ethat gave me result is the [+wf.subitemcount+] pace holder [+wf.pagetitle+] did not work or any other field i tryed. you example :
            <h2>[+linktext+]</h2>[+wf.wrapper+]
            


            did not work ider it generated the <h2></h2> and the menu loads fine but nothing else

            If I could just get the start id then I could use that ID in combination with GetField beter would be if it worked like you explained.

            this is my call:
            [[Wayfinder? &startId=`13` &level=`2` &rowTpl=`wf_row` &debug=`1` &hideSubMenus=`1` &displayStart=`TRUE` &startItemTpl=`wf_title`]]
            
              follow me on twitter: @dimmy01