Home - Your one stop SilverStripe learning resource
- Show all
- Site Tree
- Site of the Month
- Model Admin
- SilverStripe 3
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...
22 March 2011 | | | Supports v2.4Tweet
If you have ever had to edit content on a SilverStripe site with lots of pages, you will have noticed how furstrating it is to have to keep scrolling back up the tree panel to create a page or enable drag and drop re-ordering. Well, here is a handy bit of CSS you can add to keep the tools static, even as you scroll down the tree.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...
13 October 2010 | | | Supports v2.4, v2.3Tweet
This post title may look familiar, but it has in fact been completely re-written with lots of new code! When using dropdown menus, you will often want to dynamically generate the options, usually to a list of DataObjects or Pages for the user to choose from. This tutorial explores the options at your disposal when it comes to creating dynamic dropdowns in the SilverStripe.Continue reading...
TutorialsAdding a CMS action
1 September 2009 | | | Supports v2.4, v2.3Tweet
If like me you cannot figure out how on earth to use the updateCMSActions() function in a decorator and you also can't get the getCMSActions() function to find your custom method inside the controller then here is a way to make it work, which will allow you to create custom actions and buttons to trigger those actions within the CMS.Continue reading...
29 March 2011 | |Tweet
Here's something a little different, experienced SilverStripe project manager Kulsoom Kausher of digital agency Wandering Bear, tells us her top 5 tips for the SilverStripe developer to make their project managers life a little easier.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...
1 June 2012 | |Tweet
The Votes are in! And the winner of May 2012 SSbits Site Of The Month is.....Continue reading...
21 May 2009 | | | Supports v2.4, v2.3Tweet
This snippet lets you add a thumbnail to items in UncleCheese's Data Object Manager module or a regular Complex Table field. All you need to do is create a function that returns a thumbnail and refer to this function in your DOM or CTF definition.Continue reading...
TutorialsUsing jQuery for form validation
13 November 2009 | |Tweet
7 November 2010 | | | Supports v2.4Tweet
In this, the first SSbits Screencast I will take you though the process of Installing SilverStripe on your CPanel hosting enviroment. It's actually very simple once you know how and can be completed in a matter of minutes!Continue reading...
9 June 2011 | | | Supports v2.4, v2.3Tweet
Although 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...
31 October 2011 | | | Supports v2.4Tweet
There is a method on SilverStripe's Form class to set a success or error message when the form is submitted. That's cool... but sometimes you need to display a message that is not related to a form. I've created a couple of simple controller methods to enable setting and displaying of message banners anytime.Continue reading...
TutorialsWorking with banners
13 July 2009 | | | Supports v2.4, v2.3Tweet
Most of the sites I work on are for corporate/business clients and there is not typically a lot of fancy motion graphics going on. I do like to ensure there is some dynamic element going on, just to provide a bit of interest and one of the simplest ways to achieve this is by some variation of the random/rotating banners scenario. Of course this could equally apply to other parts of the page, not just banner graphics.Continue reading...