5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 193 Views |
-
Add the tabs for panel of report

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
-
Re: Add the tabs for panel of report

23 March 2012 at 5:44am
My apologies, I forget about templates. Need to edit "ReportAdminForm" template.
| 193 Views | ||
|
Page:
1
|
Go to Top |

