Message of the day:
Welcome. Latest release: https://www.silverstripe.org/download Community Forum: https://forum.silverstripe.org Features: https://forum.silverstripe.org/c/feature-ideas Archive: https://slackarchive.silverstripe.org
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
Archive temporarily at https://archive.codingplayground.nl (redirect)
I can't get the ranking to save, or get it to show if I inject into the DB manually
- <?php use SilverStripe\ORM\DataObject;
- use SilverStripe\Forms\FieldList;
- use SilverStripe\Forms\TextField;
here's a gist to show the issue
there is some namespacing needed
nah, "Foo" relates to the related object, not the relationship
hard to tell without a debugger 😉 Afaik gridfield gets a ManyManyThroughList, you might try to use "Foo" as fieldname instead of "ManyMany['Foo']"
I've got the additional fields created, but the data isn't loading