Home - Your one stop SilverStripe learning resource
- Show all
- CMS
- Security
- DataObjects
- Site Tree
- Images
- CSS
- Templates
- Forms
- Member
- Decorators
- SiteConfig
- WYSIWYG
- Errors
- Database
- JavaScript
- Comments
- Themes
- SilverStripe
- SSBits
- URLs
- Translations
- Languages
- Login
- Site of the Month
- Relations
- DataObjectManger
- Screencast
- Installing
- cPanel
- Model Admin
- Controllers
- interview
- SilverStripe 3
- Review
- Search
- Reports
-
TutorialsAdding Custom Filterable Reports to ReportAdmin
7 October 2011 | | | Supports v2.4
Tweet
With only the standard Broken Links Report, the report admin area in Silverstripe's CMS can feel a bit underused. In this tutorial I'm going to take a look at how you can add a custom report into the report admin section of the CMS which can make keeping track of a variety of statistics a little more straightforward.
To keep this simple I am going to give users the ability to assign a colour to each page on the site and then generate a report of any pages on the site that have been assigned a particular colour.
Continue reading... -
BlogEnter now! - October Site of the Month
4 October 2011 | |
Tweet
Enter your site for a chance to be in the final 5 vote off! Voting will begin on the 12th of October.
Continue reading... -
SnippetsAutomatically Redirect to the first Child Page without a Redirector Page
27 September 2011 | | | Supports v2.4
TweetThis is a little snipped i've been using to redirect a custom page to it's first child. It extends the init method of the Controller. This has proven useful in cases where the client wants to re-sort the child pages and doesn't want to mess around the configuration of a redirector page.
Continue reading... -
SnippetsInserting Javascript into a DOM Popup
11 September 2011 | | | Supports v2.4, v2.3
TweetI recently ran into the problem of how to insert my own Javascript into a DOM (DataObjectManager) popup window. After much googling and getting nowhere I resorted to reading the code and discovered that it was in fact quite simple to do.
The problem I was trying to solve was for a dropdown select box to toggle fields in the form, depending on whether a link is internal or external to the site.
Continue reading... -
BlogAugust Site of the Month Winner!
9 September 2011 | |
Tweet
The Votes are (finally) in! And the winner of September's SSbits Site Of The Month is.....
Continue reading... -
BlogVote Now! - August Site of the Month
15 August 2011 | |
Tweet
Here they are, 5 great SilverStripe sites for you to vote for your favourite!
Continue reading... -
TutorialsSorting on a related DataObject in ModelAdmin
2 August 2011 | | | Supports v2.4
TweetSometimes, in ModelAdmin, we want to be able to have a different default sort.
Specifically, like in cases where a has_one is the preferred sorting. For example, we have a warehouse. In our DataObjects, we have the object "Lanes", has_many Products. And we have Products, has_one "Lanes". When we're browsing our Products in the admin, we want to have them default sorted by their Lane, not their name.
Just saying default_sort = 'Lanes'; sadly does not do the job. It'll give you reddish-screens and stuff. Which is not what we like.
Here's a (quite simple actually) solution.
Continue reading... -
SnippetsHighlighting Query Text in Search Results
12 July 2011 | | | Supports v2.4
Tweet
Most search results I have seen with Silverstripe just return the Summary of the page or the FirstSentence. I have knocked up a quick way to show a sentence from the page that contains the search term and even highlights it for you.
Continue reading... -
BlogJune Site of the Month Winner
4 July 2011 | |
Tweet
The Votes are in! And the winner of July's SSbits Site Of The Month is.....
Continue reading... -
BlogJune Site of the Month - Vote Now!
20 June 2011 | |
Tweet
Some fantastic and innovative sites this month, but which one is your favourite?
Continue reading... -
SnippetsAn alternative to _ss_environment Files for easy 'Per Environment' Configuration
9 June 2011 | | | Supports v2.4, v2.3
TweetAlthough Silverstripe has a mechanism for alternative configuration per environment, using the ConfigureFromEnv() method in your mysite/_config.php file, it has its limitations and I have often read people complaining about it. Here is a simple yet powerful alternative to using SilverStripe environment files.
Continue reading... -
BlogBook Review: SilverStripe 2.4 - Module Extension, Themes and Widgets
6 June 2011 | | | Supports v2.4
Tweet
For a while now the only printed documentation available for SilverStripe has been the official book which, although excellent if you are willing to put the time into completing it, is now slightly outdated having been written for SilverStripe v2.3. Enter a new book written by Phillip Krenn and published by Packt; SilverStripe 2.4 - Module Extension, Themes and Widgets. Despite the slightly misleading title, the book takes you through the entire process of building a relatively complex site for a local bar by extending the core functionality as well as using various Modules and Widgets along the way.
Continue reading... -
BlogMay Site of The Month Winner!
2 June 2011 | |
Tweet
The Votes are in! And the winner of June's SSbits Site Of The Month is.....
Continue reading... -
TutorialsAdding an image to a blog post using Decorators and the SilverStripe Blog Module
31 May 2011 | | | Supports v2.4, v2.3
TweetThe Silverstripe blog module is great and its made its way into many of my Silverstripe sites. However, for most designers it is missing one vital aspect; an image field for each post. In this tutorial I'm going to show you how to quickly add an image to the blog module without editing any of it's files, allowing hassle free upgrading in future.
Continue reading... -
BlogVote Now! - May Site of the Month
20 May 2011 | |
Tweet
Here we have 5 excellent websites all developed in SilverStripe. But which one is best? You decide!
Continue reading...