5099 Posts in 1519 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 520 Views |
-
Adding tab to files popup

6 July 2011 at 8:54pm
I'm trying to add a tab to the files popup in the CMS under "Files and Images", I also need this to have access to the data in the other tab so I know which file I'm viewing. I've tried a few things but not had any luck.
Does anyone have a solution to this problem?
Thanks.
-
Re: Adding tab to files popup

8 October 2011 at 9:37pm
I would also like to add a new tab and fields to the Files Popup in the CMS under Files and Images. How can it be done?
-
Re: Adding tab to files popup

9 October 2011 at 12:30am
Found the solution after trying a lot of things:
public function updateCMSFields(FieldSet &$fields) {
$newTab = new Tab('NewTab', 'New Tab');
$fields->insertAfter($newTab, 'Main');
$newTab->fields()->push(new TextField('NewField'));
}
| 520 Views | ||
|
Page:
1
|
Go to Top |

