Home - Your one stop SilverStripe learning resource
- Show all
- CMS
- Security
- DataObjects
- Site Tree
- Images
- CSS
- Templates
- Forms
- Member
- Decorators
- SiteConfig
- WYSIWYG
- Errors
- Database
- JavaScript
- Comments
- Themes
- SilverStripe
- SSBits
- URLs
- Translations
- Languages
- Login
- Site of the Month
- Relations
- DataObjectManger
- Screencast
- Installing
- cPanel
- Model Admin
- Controllers
- interview
- SilverStripe 3
- Review
- Search
- Reports
-
BlogDecember Site of the Month Winner!
27 December 2010 | |
Tweet
The Votes are in! And the winner of December's SSbits Site Of The Month is.....
Continue reading... -
BlogMarch Site of the Month Winner!
30 March 2011 | |
Tweet
The Votes are in! And the winner of March's SSbits Site Of The Month is.....
Continue reading... -
BlogJanuary Site of the Month Winner!
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... -
BlogBook Review: SilverStripe 2.4 - Module Extension, Themes and Widgets
6 June 2011 | | | Supports v2.4
Tweet
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... -
SnippetsAn alternative to _ss_environment Files for easy 'Per Environment' Configuration
9 June 2011 | | | Supports v2.4, v2.3
TweetAlthough 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... -
BlogJune Site of the Month Winner
4 July 2011 | |
Tweet
The Votes are in! And the winner of July's SSbits Site Of The Month is.....
Continue reading... -
BlogSite of the Month - Vote Now!
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... -
BlogOctober Site of the Month - Vote Now!
11 October 2011 | |
Tweet
It's time to vote on your favourite of this months 5 SilverStripe website nominations!
Continue reading... -
TutorialsLeaflet with SS3
19 November 2012 | | | Supports v3.0
Tweet
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... -
BlogReview - The SilverStripe Book
30 March 2010 | | | Supports v2.4
Tweet
I’ve recently been working with Silverstripe, which was relatively new to me, so I got the book. This post is a review of the book “Silverstripe. The Complete Guide to CMS Development” by Ingo Schommer and Steven Broschart; I wanted to share my thoughts about this title.
Continue reading... -
SnippetsDisable Default JavaScript Behaviours
15 February 2010 | | | Supports v2.4, v2.3
TweetBy default SilverStripe uses bulky and sometimes unwanted JavaScript libraries to handle form validation and AJAX page commenting features. Often you want to disable this behaviour so you can integrate your own JavaScript code. This is easily achieved with the following two lines in you site configuration file:
Continue reading... -
SnippetsSelect a theme using a URL parameter
21 December 2009 | |
TweetWhen I develop SilverStripe sites, I usually get functionality working in the default theme blackcandy before getting it working in the final templates. This way, authors can start adding content and seeing how it looks on the page, and I can get early feedback about the functionality. Also, as a developer I get to see real content in the browser early in the process. So does the designer.
Continue reading... -
SnippetsHide pages in Sitetree that a user can't edit
15 September 2009 | | | Supports v2.4, v2.3
Tweet Sometimes you want to hide pages in the Sitetree that members logged into the CMS don't have permission to edit. This is really simple in because they already have a css style applied to them you can just hide that class. You need to include this snippet in your typography.css file so that it is included in the CMS. Continue reading... -
SnippetsUsing canCreate(), canEdit(), canDelete() and canPublish() to manage page type permissions
23 June 2009 | | | Supports v2.4, v2.3
TweetOften you will want to control which users can create, edit, delete and publish certain page types. For example you may only want high level users to be able to create ContactPage page types, or prevent low level users from deleting HomePage page types. This can easily be achieved by adding these functions to the page type model (usually just before getCMSFields()). Then within the function you can define conditionals which decide whether to return true or false.
Continue reading... -
SnippetsCreate a CMS Field in 'Page' but not it's Descendants
26 April 2009 | |
TweetSometimes you may want a field to appear in pages of type Page but not in the other PageTypes which extend Page. To limit a field added via the function getCMSFields() is a simple case of adding an if() statement to test the current pages class.
Continue reading...