I have a small problem. I have created a custom module, and in that i have defined a one-many relationship.
Now on the CMS page for the module i have added a HasManyComplextableField. This has worked fine.
But when i click the add button the popup loads with the following message displayed:
"I can't handle sub-URLs of a TemplatesAdmin object."
TemplatesAdmin being the module class name!
Anyone have any ideas why this is?
My code is here:
new LabelField('Bespoke data fields for this template:'),
$phTable = new HasManyComplexTableField(
'Title' => 'Placeholder Name',
'DataType' => 'Data Type',
'InputMethod' => 'Data Input Method'