Home - Your one stop SilverStripe learning resource
- Show all
- Site Tree
- Site of the Month
- Model Admin
- SilverStripe 3
1 October 2010 | |Tweet
It's here, the moment we've all been waiting for! Welcome to the new SSbits! Have a look around and make yourselves at home. Over the coming week I will be bringing you a new post every day, from a completely new Tutorial on using DataObjects as pages, to a Snippet on adding Gravatars to your site and an exciting new monthly contest. Read on to find out about the great new features and some exciting plans for the future!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...
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...
7 April 2009 | | | Supports v2.4, v2.3Tweet
In this tutorial we are going to create a system that allows the Admin to decide which (front-end) page a group of users are redirected to after login. This will be defined via a TreeDropdown for each group in the security section, and can also be set to send them to the admin area via a checkbox.Continue reading...
7 January 2011 | | | Supports v2.4, v2.3Tweet
Sometimes you'll have to create websites for clients that are very demanding when it comes to image quality, say graphic designers or photographers. SilverStripe can be a showstopper here, since images are always being re-saved when you're using something like $SetHeight in your template. This can reduce image quality quite a lot, especially when using JPEG images.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...
TutorialsCustom sorting in the CMS SiteTree
14 February 2011 | | | Supports v2.4, v2.3Tweet
Ever wanted to sort some parts of the SiteTree? Well now you can!Continue reading...
19 April 2011 | | | Supports v2.4Tweet
Often you will want to add some extra features to your Model Admin interface. Luckily it's pretty straightforward when you know how! In this tutorial we are going to add a simple 'Duplicate' button for our managed Model.Continue reading...
29 June 2012 | | | Supports v2.4Tweet
One of my clients wanted a clear interface from which he could easily attach downloadable files to some pages of his site. Instead of using modelAdmin and granting him an access to Silverstripe admin panel, I chose to create a front-end page showing a simple upload form, a list of the files previously uploaded to the server, and a delete button for each of them.Continue reading...
10 October 2010 | |Tweet
Well here it is guys, the first Vote of the new SSbits Site of the month! There were loads of entries so thank you to every one who entered, it was really tough to pick out 5 sites from all the great entries! If your site didn't make it this month, don't take it to heart, there will be plenty more months for you to enter. So here we have 5 sites, have look and pick your favourite!Continue reading...
11 October 2011 | |Tweet
It's time to vote on your favourite of this months 5 SilverStripe website nominations!Continue reading...
TutorialsEmbed flash content using SWFObject
3 December 2009 | | | Supports v2.4, v2.3Tweet
There are numerous ways to embed flash content into your SilverStripe Website. A commonly used and very flexible method to embed flash is provided by the SWFObject script. In this snippet I'll show you how to create a custom FlashPage that will contain flash content, embedded using SWFObject.Continue reading...
28 June 2009 | | | Supports v2.4, v2.3Tweet
When you have a number of pages which follow on from one another you may find that asking a user to return to an index or select the next item from a side menu each time they want to progress is cumbersome. In this situation having previous and next buttons at the bottom of a page becomes very useful. In this snippet we'll add these buttons and also a counter to show the current page we are on and the total number of pages.Continue reading...
SnippetsOptimizing Complex Models
4 November 2010 | | | Supports v2.4, v2.3Tweet
The SilverStripe ORM engine (Sapphire) makes working with your database a breeze, but that simplicity comes at a cost. Each database query contributes to slower page load times and a complicated data structure can create significant performance issues.
Here are a number of strategies that can be employed to improve your website query performance:Continue reading...
BlogAn interview with Felipe Skroski: Designing SilverStripe 3, UI development and the future of content management
4 March 2011 | |Tweet
This year looks like it's going to be an important milestone for SilverStripe. For not only does it mark the 10th anniversary of the company that brought us the CMS, SilverStripe Limited, but it's also the year in which work has begun on the first major release of the system since it's launch in 2007. SilverStripe 3.0 is still very early in its development but it's already looking very promising, potentially offering huge improvements such as versioned assets, a reworked templating system and better separation between the CMS and the underlying framework Sapphire among other things. However probably the most exciting improvement will be a completely new HTML5/jQueryUI admin interface.
The man in charge of designing the new UI is Felipe Skroski, creative director at SilverStripe Limited. With nearly 15 years of experience designing, marketing and project managing for the web, Felipe is well placed to lead the process, so I caught up with him to talk about SilverStripe 3, UI design and the future of content management.Continue reading...