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...
http://www.silverstripe.com/general-discussion/flat/5853
http://www.silverstripe.com/general-discussion/flat/1686
Would a similar approach be feasible, using something like a hasmanycomplextablefield? Any suggestions, advice is welcome. Cheers.