pdoMenu and &tplInnerHere

Hi,

When using &tplInnerHere in pdoMennu, the snippet is still outputting &tplInner, for example:

&tplInner=`@INLINE <ul>[[+wrapper]]</ul>`
&tplInnerHere=`@INLINE <ul class="opened">[[+wrapper]]</ul>`

Result:

<ul>
<ul class="opened"></ul>
<li><a href="#">Page Title</a></li>
</ul>

I thought &tplInnerHere would replace &tplInner when used as with the Active tpls or 'am I misunderstanding this?

Thanks.
Daniel Gibson
17 июня 2014, 14:57
modx.pro
1 659
0

Комментарии: 2

Сергей Скат
17 июня 2014, 19:24
0
try use chanks, it must help
    Василий Наумкин
    18 июня 2014, 04:52
    0
    &tplInner — is the wrapper for some strings with &tplInnerRow.
    &tplInnerHere — is the active &tplInnerRow inside &tplInner

    docs.modx.pro/en/components/pdotools/snippets/pdomenu
      Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
      2