0
votes

SilverStripe 2.4.7

Hi

I want to create a stats page in the CMS but I'm not entirely sure how to do this. If it were an ordinary PHP page I would query the database, save the values to an array and display them in a table. I need it to look similar to the other CMS pages too.

I have included my own php files for other things in the CMS so I was wondering can I do the same here?

Thanks

1
Did you do the tutorials? You should, it will tell you what to extend - don't forget: This is MVC and OOP, not plain old PHP...xeraa

1 Answers

1
votes

WIthout providing more details, all I can do is point you to the Site Reports documentation for SilverStripe 3.

This will allow you to show your DataObjects in table form, based on filters and sorting that you choose.

If the basics of SS is what you're after, start with the tutorials.