Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Add the tabs for panel of report

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

Page: 1
Go to End
Author Topic: 292 Views
  • Romano
    Avatar
    Community Member
    13 Posts

    Add the tabs for panel of report Link to this post

    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

  • Romano
    Avatar
    Community Member
    13 Posts

    Re: Add the tabs for panel of report Link to this post

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

    292 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.