thats4shaw

If you don’t want the subtitle in a separate tab then just add to Root.Main.

thats4shaw
  1. $fields->addFieldToTab("Root.Subtitle", new TextField('Subtitle'));
👍 (1)
thats4shaw

You don’t want to add a relationship, you just want to add a field. Should be something more like:

  1. private static $db = [
  2. 'Subtitle' => 'Text'
  3. ];
thats4shaw

That’ll get you started but in all honesty I think you’d be better off just adding a new field as suggested above.

thats4shaw

I suspect that is what’s going on. Just to find it 🤔.

thats4shaw

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.