2017-10-29 77 views

回答

1

這裏的myWrapperTpl塊的內容:

<ul[[+outerClasses:notempty=` class="[[+outerClasses]]"`]]> [[+output]]</ul> 

<li[[*id:is=`[[+id]]`:then=` class="active"`]]> 
    <a href="[[~[[+id]]]]"> 
     [[+menutitle:default=`[[+pagetitle]]`]] 
    </a> 
    [[[[+level:lt=`[[+maxLevel]]`:then=`[email protected]? &parents=`[[+id]]` &level=`[[+level:add]]``:else=`-`]]]] 
    </li>