Jump to:

5521 Posts in 1733 Topics by 1220 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: 331 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.

    331 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.