22851 Posts in 9874 Topics by 2804 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
12 March 2009 at 9:36am Last edited: 12 March 2009 11:58am
Im follow http://doc.silverstripe.com/doku.php?id=recipes:example_of_quotes_on_a_page, 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'.
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.
|Go to Top|