Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Making Quotes on page, then relationship error. Need advice.

Go to End



Community Member, 50 Posts

12 March 2009 at 9:36am

Edited: 12/03/2009 11:58am

Im follow, everything works fine (except it show unicode characters wrong, see screenshot). Then i made NewsHolder/NewsPage extends Page class, and now i get error while try to open NewsHolder Page in CMS: ERROR [Warning]: Can't find a has_one relationship from 'Quote' to 'NewsHolder'.

I add
static $has_one = array(
'Page' => 'Page', 'NewsHolder' => 'NewsHolder', 'NewsPage' => 'NewsPage'

but it still dont work.
Please explain me how it should be for correct work.
Thank you.

Attached Files