We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39029
    • 5 Posts
    Quote from: frogabog at Jan 08, 2013, 07:50 PM
    You're not in a rte are you?
    What's the source say when it doesn't render?

    No worries. I'm not. Just a plain textfield here.

    I started off having
    ...<div id="globnav">
    <nav>
    [[$globnav]]
    </nav>
    </div>...

    in my page template and
    [[Wayfinder? &startId=`2` &level=`1`]]
    

    as my chunk named "globnav". As a result I never got anything else than the whole resource tree starting at id=0.
    ...<div id="globnav">
    	<nav>
    		<ul>
    			<li class="first active"><a href="index.php?id=2" title="mainnav" >mainnav</a>
    			<ul>
    				<li class="first active"><a href="index.php?id=4" title="Einführung" >Einführung</a></li>
    				<li><a href="index.php?id=6" title="Standortbestimmmung" >Standortbestimmmung</a>
    				<ul>
    					<li class="first"><a href="index.php?id=10" title="Arbeitsmodelle" >Arbeitsmodelle</a></li>
    				</ul></li>
    				<li><a href="index.php?id=7" title="Perspektivenerarbeitung" >Perspektive</a></li>
    				<li><a href="index.php?id=8" title="Umsetzung" >Umsetzung</a></li>
    				<li class="last"><a href="index.php?id=9" title="Nachtisch" >Nachtisch</a></li>
    			</ul></li>
    		</ul>
    	</nav>
    </div>...


    Wayfinder just did not react to &startId=`2` nor did it to anything else written in the chunk (like &level=`1` or &debug=`1` or &rowTpl=`xyz`. The output always stayed the same. After Hours of trying and searching for a problem, things started to work right first when I changed my chunk to this:
    <div id="globnav">
    <nav>[[Wayfinder? &startId=`2` &level=`1`]]</nav>
    </div>
    

    leaving out div#globnav in the page template. Then my output was as expected:
    <div id="globnav">
    	<nav>
    		<ul>
    		<li class="first active"><a href="index.php?id=4" title="Einführung" >Einführung</a></li>
    		<li><a href="index.php?id=6" title="Standortbestimmmung" >Standortbestimmmung</a></li>
    		<li><a href="index.php?id=7" title="Perspektivenerarbeitung" >Perspektive</a></li>
    		<li><a href="index.php?id=8" title="Umsetzung" >Umsetzung</a></li>
    		<li class="last"><a href="index.php?id=9" title="Nachtisch" >Nachtisch</a></li>
    		</ul>
    	</nav>
    </div>


    Hope this explains better.