pdoMenu and &tplInnerHere
Hi,
When using &tplInnerHere in pdoMennu, the snippet is still outputting &tplInner, for example:
Result:
I thought &tplInnerHere would replace &tplInner when used as with the Active tpls or 'am I misunderstanding this?
Thanks.
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.
Комментарии: 2
try use chanks, it must help
&tplInner — is the wrapper for some strings with &tplInnerRow.
&tplInnerHere — is the active &tplInnerRow inside &tplInner
docs.modx.pro/en/components/pdotools/snippets/pdomenu
&tplInnerHere — is the active &tplInnerRow inside &tplInner
docs.modx.pro/en/components/pdotools/snippets/pdomenu
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.