We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46396
    • 14 Posts
    Hello
    I have several child pages; each child page has a TV. This TV contains a list of key words.
    TV list key words: keyWord1, keyWord2, etc
    I want to recover these key words and display theme in a html code in the parent page
    html code
    <ul class=” keyWordList”>
    <a href= “ ”>keyword1</a>
    <a href =””>keyword2</a>
    Etc
    </ul>

    I wrote a snippet to retrieve an associative array:
    Array ( [keyWordsList] => Array ( [0] => keyWord1[1] => keyWord2 [2]=>ect))
    Now how do I send the data to the parent page


      • 3749
      • 24,544 Posts
      The simplest method is to put the snippet tag in the parent page. That way it can just produce the output and return it.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting