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

    For my one page design website I am using migx to post new contents: E.g.: welcome is title followed by content as text/html/gallery.
    That is all working just fine like this:

    <div id="content">
        <div id="[[+title]]" class="content-holder">  
         <div class="row">
         <div class="span10 ">      
         <h1>[[+title]]</h1>
         <p>[[+content]]</p></div>
       </div>
         </div>  
        </div>  
    <hr>
    


    as this is working right, I'd like to have also the title listed in my navigation when I add a new "page content". The title should appear on the navigation bar - it would be perfect, if I could tell in which order it goin to appear.

    html:
    <li><a href="#welcome" class="scroll">welcome</a></li>

    Something like this?
    <li><a href="#[[+title]]" class="scroll">[[+title]]</a></li>


    But how could I get this list from migx?
    Should/Can I use wayfinder for this, or should I use getresources?

    Thank you very much!

    AD


    • MODX Version:latest

    This question has been answered by Bruno17. See the first response.

    • discuss.answer
      • 4172
      • 5,888 Posts
      can't you just use another getImageList-call to create the list?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 42101
        • 125 Posts
        Hi Bruno,

        it's too easy too be true.
        Migx and Modx are just amazingly awesome!

        Thank you very much!
        AD