In page.php, I have a dataObject called "Specification" which has a dropdown field which pulls in the records from another dataobject called "yachtType". The relationship between the two dataobjects (tables) is yachtType.ID = Specification.yachtTypeID
As part of the Specification table output in the CMS, I wish to show fields from both dataobjects (tables).
$manager = new DataObjectManager(
array('Model' => 'Model','Type' => 'Type'),
Where "Model" is from the Specification table, and "Type" is from the yachtType table.
However, "Type" returns a blank field in the table. "Model" displays correctly as does "yachtTypeID" if I use this.
How do I show a value from the "yachtType" table?
Thank you in advance