We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37212
    • 8 Posts
    Доброго времени суток! у меня есть меню вызванное с помощью Wyfinder, как можно сделать чтобы один пункт с
     ID=12
    был виден ток зарегистрированным пользователям? регистрация на сайте присутствует) mod revo! [ed. note: xander1984 last edited this post 14 years ago.]
      • 31246 ☆ A M B ☆
      • 428 Posts
      В вызов Wyfinder добавть
       &excludeDocs=`[[+modx.user.id:gt=`0`:then=``:else=`12`]]`
        Valentin Rasulov - Industrial design (Hobbies - Web Development)
        Development not standard projects on CMF MODx Revolution.
        Small sample of extensions
        • 37212
        • 8 Posts
        				[[Wayfinder?
                            &excludeDocs=`[[+modx.user.id:gt=`0`:then=``:else=`12`]]`
        					&outerClass=`nav`
        					&innerClass=`dropdown-menu`
        					&rowTpl=`tpl.Wayfinder.row`
        					&innerRowTpl=`tpl.Wayfinder.row.inner`
        					&startId=`0`
        					&level=`2`
        				]]


        вот такой вызов у меня ! а вот сайт http://srv25728.ht-test.ru/ но от чего то не работает таки( [ed. note: xander1984 last edited this post 14 years ago.]
          • 37212
          • 8 Posts
          иммеется ввиду id страницы ,а не пользователя как я понял!
          ID=12   
          
            • 31246 ☆ A M B ☆
            • 428 Posts
            проверил, попробуйте так
            &excludeDocs=`[[!+modx.user.id:is=`0`:then=`12`]]`

            Проверил - у меня работает
            Да - про модификаторы читаем здесь [ed. note: valikras last edited this post 14 years ago.]
              Valentin Rasulov - Industrial design (Hobbies - Web Development)
              Development not standard projects on CMF MODx Revolution.
              Small sample of extensions
              • 37212
              • 8 Posts
              Спасибо огромное за помощь и ссылку на модификаторы!!