Hi,
I'm trying do modify the template for a page so that the admin can select where a certain element on the page redirects. I'm trying to use something like the following:
static $has_one= array(
"InternalLink" => "SiteTree"
);
The field shows up in the CMS and I can edit the link. But when I save it it doesn't seem to be persisted into the database, and the link when viewing the page just points to $siteroot//
I've built the site and a field called examplenameID does show up in the database. But it never changes from 0.
What am I doing wrong?
Kind regards
Peter (a silverstripe newbie)