Home - Your one stop SilverStripe learning resource
- Show all
- Site Tree
- Site of the Month
- Model Admin
- SilverStripe 3
20 December 2010 | |Tweet
These days many sites require users to register to get full functionality (SSbits included!). This is something that although not avaiable out of the box in SilverStripe is quite strait forward and a great way to gain a better understanding of both the Member and Form systems. In this tutorial we are going to create a simple registration form and a page for users to then edit their details.Continue reading...
4 October 2010 | | | Supports v2.4, v2.3Tweet
In this two part tutorial, I am going to show you how to display DataObjects as if they were pages. This is often very useful for times when you have lots of items that don't warrant full site tree objects, but do need to be displayed on their own on the site. In this first part displaying Staff Members we are going to keep it simple, using a Data Object Manager to manage our Staff Members and referring to their ID in the URL. Later in part 2, we will see how to use ModelAdmin to manage a Search Engine friendly product catalogue.Continue reading...
TutorialsDataObject as Pages: The Module
24 January 2012 | |Tweet
It's been a while since we published the DataObject as Pages series of tutorials, which have proved to be particularly popular. At Aab Web we use those techniques regularly as a way to allow our clients to mange large amounts of flat content or content that is distributed in multiple places throughout a site. Although the final implementations in each project are often varied and bespoke, they all start with the basics outlined in those tutorials, so it made sense for us to build a starting point to work from (and include some more complex features at the same time). That starting point is this module, catchily entitled: DataObject as Pages.Continue reading...
TutorialsDataObjects as Pages - Part 2: Using Model Admin and URL Segments to create a product catalogue
14 November 2010 | | | Supports v2.4, v2.3Tweet
We now know the basics of using DataObjects as Pages from Part 1 of this tutorial. In part 2, we are now going to look at taking this further and creating a basic product catalogue with products that are DataObjects managed via the ModelAdmin interface. This tutorial will also serve as an introduction to ModelAdmin it self, which is an extremely powerful CRUD (Create, Read, Update, Delete) manager for any type of DataObject, whether used as pages or not.Continue reading...
TutorialsControllers Instead of Pages
25 January 2011 | | | Supports v2.4, v2.3Tweet
SilverStripe is great for working with Pages in the CMS. But what if you need functionality without the need for content or all the "data fluff," like in Aram's tutorial about user registration and profile editing. Well, believe it or not, SilverStripe is a pretty solid MVC platform, even if you're working outside of the page data objects. It took me a while to understand how to implement true-ish MVC in SilverStripe, so I thought I'd take the opportunity to share.Continue reading...
SnippetsA Data Object Manager Cheatsheet
6 October 2010 | |Tweet
We all love the DataObject Manager (DOM, not to be confused with the Document Object Model) as well as its creator UncleCheese of LeftAndMain.com. However one thing which has always frustrated me is having to look back through my code or even worse having to search the forums to find that function to set the upload folder, or create a filter for my DOM. So here within this page, lies a comprehensive list of all the things you can do with your DOM and File/ImageDOM. Viva la DOM!Continue reading...
SnippetsA _config.php Cheatsheet
2 July 2010 | | | Supports v2.4Tweet
If your anything like me, you've probably found yourself going through your previous sites looking for that line of code to put in your _config.php file. Well, now you nolonger need to, simply bookmark this page and return to it any time you need to add a line to your config! And if I've missed out anything leave a comment and I'll make sure it gets added :)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...
28 April 2010 | | | Supports v2.4Tweet
SilverStripe 2.4 has introduced shortcodes to the CMS editor. Simply, the CMS user can now add short BBCode style code to the editor area and it can then be replaced using a predefined function. For example [link id=23] could be replaced by the link to Page with an ID of 23. In fact that is exactly how internal links created in the links sidebar work in 2.4, preventing them from breaking when URLs change.Continue reading...
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...
9 April 2011 | | | Supports v2.4Tweet
I recently had a request to build a multilingual site for an accountant who wanted to enter content in English, Romanian and Russian, and wanted their site visitors to be able to switch languages by clicking on the image of the country flag - and I was pleasantly surprised to learn how quick and easy it is to implement using Silverstripe's Translatable class.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...
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...
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...
4 December 2010 | | | Supports v2.4, v2.3Tweet
As you will most likely already know, reducing the number of HTTP requests that your site makes can have a significant effect on loading times. However, usually it's not practical to combine all your files into a single one for reasons of maintainability. This is where SilverStripe steps in and provides an elegant, automated solution to this common 'requirement' (lol, get it?).Continue reading...