Created
January 3, 2018 09:24
-
-
Save morozVA/09b9b543cf966d8cbbf22f916afe8d88 to your computer and use it in GitHub Desktop.
evo Wayfinder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[Wayfinder? &startId=`[*parent*]` &excludeDocs=`6,7` &includeDocs=`5,6` &level=`3` &outerTpl=`outerTpl` &rowTpl=`rowTpl` &innerTpl=`innerTpl` &innerRowTpl=`innerRowTpl` &hereClass=`hereClass` &ignoreHidden=`1` ]] | |
outerTpl | |
<ul[+wf.classes+]>[+wf.wrapper+]</ul> | |
rowTpl | |
<li[+wf.id+][+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>[+wf.wrapper+]</li> | |
innerTpl | |
<ul [+wf.classes+]>[+wf.wrapper+]</ul> | |
innerRowTpl | |
<li[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a>[+wf.wrapper+]</li> | |
[+wf.classes+] - место для указания используемого CSS-класса (включает class=" ") | |
[+wf.classnames+] - содержит только название CSS-класса (не включает class=" ") | |
[+wf.link+] - адрес (href) для ссылки | |
[+wf.title+] - текст для title ссылки | |
[+wf.linktext+] - текст названия ссылки | |
[+wf.wrapper+] - место для вывода подменю | |
[+wf.id+] - вывод уникального идентификатора (id) | |
[+wf.attributes+] - вывод дополнительных атрибутов ссылки | |
[+wf.docid+] - идентификатор документа для текущего элемента | |
[+wf.subitemcount+] -количество элементов в папке | |
[+wf.description+] - выводит значения поля описания | |
[+wf.introtext+] - выводит значения поля интротекста | |
не выводить не папки | |
&includeDocs=`SELECT id FROM modx_site_content WHERE isfolder<>0 ` | |
соседние документы | |
&startId=`[*parent*]` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment