We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21101
    • 169 Posts
    hi everybody !

    i try to display in my subpages (features, download & instructions) parent informations like title, longtitle...

    [tt]+-product_1
    | +-- features
    | +-- download
    | +-- instructions[/tt]

    i did one TV for each information but it doesn’t work because, modx doesn’t render [*variables*] in Template Variables undecided

    [*parentTitle*]
    @SELECT pagetitle from modx_site_content where id=[*parent*]
    


    any idea to get parent title, parent longtitle etc... ?

    thanx a bunch wink
      Play no games
      • 22303 MODX Staff
      • 10,725 Posts
      It’s the @SELECT that is not allowing the [*templateVar*] tags to be parsed in your code, in conjunction with the fact that tags nested in returned content are not processed until the next pass of the parser.
        • 21101
        • 169 Posts
        k i didn’t know that wink

        i used the Snippet GetField in one Template to render my subpages and display the parent title; longtile, description etc... smiley
          Play no games