Hi there,
I have been encountering the Bad link tag error message when using Symlinks in my pdoMenu call
[[pdoMenu@eidMenu? &startId=`[[UltimateParent? &topLevel=`3`]]` &displayStart=`1` &showHidden=`1` &level=`2` &outerClass=`tab` &selfClass=`current`]]
I have a propertyset eidMenu which includes a pdoResources call as follows:
@INLINE <ul class="tabs"><li[[+classes]]><a href="[[+link]]" [[+attributes]]>[[+menutitle]]</a><ul>[[pdoResources? &parents=`3` &tpl=`linkTpl` &showHidden=`0` &resources=`-[[*id]],-[[*parent]],-102` &sortby=`menuindex` &sortdir=`ASC`]]</ul></li>[[+wrapper]]
The linkTpl code is:
<li><a href="[[~[[+id]]]]">[[+menutitle]]</a></li>
On the web page if I click on those pages which are Resources there are no errors recorded, as soon as I click on a page which is a Symlink the error appears. There are a total of 3 Symlinks called as a result of the pdoMenu call and each time I click on a Symlink there are two errors which appear which makes me think that this Bad link message is attributed to the other two Symlinks in the menu.
As far as the web pages are concerned this all works, however, the error log is being filled with these error messages:
/paas/c0504/www/core/model/modx/modparser.class.php : 1352) Bad link tag `[[~]]` encountered
Comments / thoughts / suggestion please