7

我试图在没有任何运气的情况下在 Root.Content.Main 之前插入一个新的管理选项卡。我试过了:

$fields->insertBefore(new Tab('Root.Content.Overview', 'Overview'), 'Root.Content.Main');

$fields->addFieldToTab('Root.Content', new Tab('OverviewTab', 'Root.Content.Overview'), 'Root.Content.Main');

没有任何运气。

有人有想法么?我已经通过 API 进行了搜索,但没有太多关于选项卡命名系统如何工作的解释。

4

1 回答 1

19

弄清楚了...

$fields->insertBefore(new Tab('Overview', 'Project Overview'), 'Main');
于 2011-02-17T20:10:00.627 回答