If you don’t want the subtitle in a separate tab then just add to
- $fields->addFieldToTab("Root.Subtitle", new TextField('Subtitle'));
That’s because you are adding an
You don’t want to add a relationship, you just want to add a field. Should be something more like:
- private static $db = [
- 'Subtitle' => 'Text'
That’ll get you started but in all honesty I think you’d be better off just adding a new field as suggested above.
You would need to write an extension.
Might give you some reference - https://thecreativestore.co.nz/creative-talk/spotlight/the-creative-store-salary-survey-2019/
I suspect that is what’s going on. Just to find it 🤔.
Good, not going insane then.
Reality check - if i do something like
Config::modify()->set(Injector::class, 'testing', true); in
app/src/_config.php it should be accessible across the board right? If i dump out
Injector straight the set I can see it, anywhere else it’s no where to be seen.