We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 641
    • 9 Posts
    I am trying to pull a TV value along with other content from my database.

    Creating a New Homes web site so I have Developments and then Plot details linked to them which i want to show all on the same page. There are a couple of TV set up on the plots template such as Status and I can’t work out how to pull them from the DB.

    I found this document which talked about using a join statement but I can’t seem to work it out. http://wiki.modxcms.com/index.php/@SELECT_Binding#More_Complex_Example:_Template_Variables

    I am using the following to get the page title: $params[’ref’]=$item[’pagetitle’];

    But what do i use to get the TV data?

    Angela.


      • 641
      • 9 Posts
      Got it working using $modx->getTemplateVarOutput

      Angela.