Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Add the tabs for panel of report


Go to End


2 Posts   732 Views

Avatar
Romano

Community Member, 13 Posts

22 March 2012 at 9:30am

Anybody can help me add the tabs for panel of reports?

In "cms\code\Report.php" for function getCMSFields I tried add this code:

$fields = new FieldSet(
new TabSet("Root",
new Tab("Report", _t('Report.REPORT', "Report"),
new LiteralField('ReportTitle1', "<h3>{$this->title()}</h3>"),
)
)
);

, but result is empty. Many thanks!

Silverstripe v2.4

Avatar
Romano

Community Member, 13 Posts

23 March 2012 at 5:44am

My apologies, I forget about templates. Need to edit "ReportAdminForm" template.