Home - Your one stop SilverStripe learning resource
- Show all
- Site Tree
- Site of the Month
- Model Admin
- SilverStripe 3
2 February 2011 | |Tweet
So after a bit of contreversy, the (community) Votes for January's Site of the Month are in! And the winner is.....Continue reading...
6 June 2011 | | | Supports v2.4Tweet
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...
24 July 2009 | | | Supports v2.4, v2.3Tweet
The default install of SilverStripe contains an array of buttons for the TinyMCE HTML editor. However usually your client will need some extra functionality or you may want to keep things simple for them by removing some of the buttons. As of SilverStripe 2.3.2 this is very easy and can be achieved by adding some code to the _config.php file.Continue reading...
SnippetsAdding Gravatars to your site
8 October 2010 | | | Supports v2.4, v2.3Tweet
Gravatar is a great service that allows you to pull in members profile photos directly from their Gravatar accounts. It's used right here on SSbits and it also part of the Forum module. It's also incredibly easy to integrate into your site!Continue reading...
15 October 2010 | | | Supports v2.4Tweet
2.4 has introduced the SiteConfig, which by default allows the user to switch themes - if they exist.
It's incredibly useful to have this functionality built-in now, but for those that only have one theme for a site, it's a bit of unnecessary clutter. Here is how to remove it by using a decoratorContinue reading...
10 November 2010 | |Tweet
Here we are, 5 of this months best entries are now up for you to vote on your favourite!Continue reading...
27 September 2011 | | | Supports v2.4Tweet
This 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...
TutorialsLeaflet with SS3
19 November 2012 | | | Supports v3.0Tweet
Leaflet is a good open-source alternative to Google Maps. I followed the instructions given in the Leaflet quick start guide (http://leafletjs.com/examples/quick-start.html), with a few adaptations to Silverstripe CMS. No custom icon, no additional layer, no customized css, no fancy feature : only the basic options to plot several locations on an interactive map.Continue reading...
26 March 2009 | | | Supports v2.4, v2.3Tweet
In this tutorial we are going to create a SilverStripe theme from a static template. While completing this tutorial, you will build a good foundation for using the SilverStripe templating language and be able to create themes with dynamic menus and content areas.Continue reading...
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...
28 October 2010 | | | Supports v2.4Tweet
In this tutorial we are going to add a form to a sidebar that can be included on any page on a website. You will be able to set whether to show the Form on a particular page via checkbox in the CMS. The work is based on the Working with SiteConfig and Creating a Simple Contact Form tutorials.Continue reading...
SnippetsUsing a Password Validator
18 October 2010 | |Tweet
The Password Validator allows you to set particular criteria for your members passwords. For example if you wanted to have a minimum length of 8 characters and contain lowercase and uppercase characters, well that's a simple case of adding a couple of lines to your _config.php file!Continue reading...
11 September 2011 | | | Supports v2.4, v2.3Tweet
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...
6 January 2012 | |Tweet
It's been a while, but Site of the month is finally back and there are some great sites to choose from!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...