Home - Your one stop SilverStripe learning resource
- Show all
- Site Tree
- Site of the Month
- Model Admin
- SilverStripe 3
7 October 2010 | | | Supports v2.4, v2.3Tweet
Have you ever found yourself using DataObject::get() to fetch objects in a has_many so that you can filter/sort them easily?
Well as it happens there is no need to do this thanks to a totally undocumented bit of code!Continue reading...
TutorialsWorking with Site Config
19 April 2010 | | | Supports v2.4Tweet
One of the great new features of 2.4 is the introduction of a Site Config page. This allows you to put all of those fields which are not page related, such as The sites title, root access permissions and even the current theme. The SiteConfig class is simply a dataobject and so can easily be extended to include fields, relationships and functions which you can then access from anywhere in your site.Continue reading...
15 April 2010 | | | Supports v2.4, v2.3Tweet
Often when doing development work on a website - and particularly the templates - it can be a pain having to remember to add ?flush to the end of the URL to make sure all of your changes have come through. I'm sure that all of us have had that "d'oh" moment when we have spent too much time wondering why our changes weren't working, only to find a simple flush fixed it.Continue reading...
TutorialsPaginating a filtered DataObjectSet
25 October 2010 | | | Supports v2.4Tweet
If you have ever tried to paginate a DataObjectSet that has been customised since fetching it from the database you will have descovered that it simply doesn't work. This short tutorial provides some great code to resolve this problem and paginate to your hearts content!Continue reading...
24 November 2010 | | | Supports v2.4Tweet
Many people need a way to monitor their website, and while it's pretty easy to add the code to a SilverStripe template, or even the basic Page_Controller, I thought I would show how I modularized and made it accessible from the SiteConfig area of the CMS.Continue reading...
31 May 2011 | | | Supports v2.4, v2.3Tweet
The 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...
BlogA Simples Theme
21 February 2012 | |Tweet
Although it was not destined to win the SilverStripe theme contest, I thought it would be a shame if this theme was forgotten, so here it is in all it's glory and fully compatible with SS 2.x for everyone to use as they please!Continue reading...
10 September 2012 | |Tweet
The eagerly awaited SilverStripe 3 has been available in a stable state for a while now, it's even had a minor release in the form or 3.0.1. But how does it shape up when compared to it's long established predecessor, SilverStripe 2?
Having now had time to really have a play with it and even do some project work with it there are 2 statements swirling around my head. 1: SilverStripe 3 is absolutely awesome and 2: We won't be using SilverStripe 3 for complex production sites just yet . Confused? Let me explain.Continue reading...
31 May 2010 | | | Supports v2.4, v2.3Tweet
The Member system that comes with SilverStripe offers substantial control over your site's authentication capabilities. It often requires the developer to build out or extend most common functionality to websites. This is great in that you are never "stuck" with the out-of-the-box offerings, but as any SS dev knows you end up with a little bag of Member tricks that gets used across many projects. Presented here is one that I use often.Continue reading...
10 May 2011 | | | Supports v2.4Tweet
For ages now I have been meaning to figure out how to get an AJAX autocomplete field working with SilverStripe Objects. So when I found this great jQuery Autocomplete Plugin, I thought now would be a good time. As always SilverStripe provides all the tools necessary to complete the task without too much hassle.Continue reading...
20 June 2011 | |Tweet
Some fantastic and innovative sites this month, but which one is your favourite?Continue reading...
15 August 2011 | |Tweet
Here they are, 5 great SilverStripe sites for you to vote for your favourite!Continue reading...
12 July 2011 | | | Supports v2.4Tweet
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...
9 September 2011 | |Tweet
The Votes are (finally) in! And the winner of September's SSbits Site Of The Month is.....Continue reading...
7 October 2011 | | | Supports v2.4Tweet
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...