We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30136
    • 3 Posts
    Hello,

    I’ve been using MODx succesfully for a couple of websites, i think its the best CMS for developers. Thumbs up for that smiley
    Although i have a question, i’d like to have the submenu items of the current menu items elsewhere on the page. I currently have a working version here, although that uses Javascript so it kinda flickers.
    I use the default Wayfinder snippet, i think i have to give the startid parameter, but how do i know what document im at?

    Thanks in advance.
      • 7231
      • 4,205 Posts
      To see the ID of the document look in the document tree and the id is in ( ) to the right of the page title. To set the current document ID you can use the [*id*] placeholder and to get the parent id [*parent*]. You can also use the UltimateParent snippet to detect the parent ID based on the level in the menu so you can have one menu for all second level pages for example.

      Check out the developers site for some examples and a list of parameters: http://www.muddydogpaws.com/development/wayfinder/parameters.html

      And there is a complete downloadable documentation in the wiki that is very good also: http://wiki.modxcms.com/index.php/Wayfinder200
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]