I've got a site that currently has a one-to-one page-to-file relationship, created by adding this to my page.ss code; in the Page extends SiteTree...
static $has_one = array(
"Download" => "File",
...and in function getCMSFields()...
$fields->addFieldToTab("Root.Content.Download", new FileIFrameField("Download"));
What I want to be able to do is to upload multiple files to the same page. I see some people have had success with one->many image relationships...
Would a similar approach be feasible, using something like a hasmanycomplextablefield? Any suggestions, advice is welcome. Cheers.