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
-
TutorialsAdding an Email Field to the Page Comment Form
4 February 2010 | | | Supports v2.4, v2.3
TweetSilverStripes comment system is great when you don't need anything more than the standard feilds, but as soon as you need some extra functionality, things get a little complicated. In this tutorial we will be adding an Email field to the comment form.
Continue reading... -
SnippetsSpice up Your CMS Sitetree
27 August 2009 | | | Supports v2.4, v2.3
Tweet
So you have created your own page types, but they all look the same in your CMS site tree. Time to make them more recognizable!
This is quite easy, but it can make your site tree a lot more attractive.
Continue reading...
-
NewbiesBuilding a SilverStripe Theme from a Static Template
26 March 2009 | | | Supports v2.4, v2.3
Tweet
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... -
TutorialsAutofill MetaDescription and MetaKeywords on page save
28 July 2009 | | | Supports v2.4, v2.3
TweetMost of my customers don't want to add meta info manually, so I add an onBeforeWrite() function to update the Meta Description field and count the keyword density of the content with a separate function and add these keywords to the Meta Keywords fields when a page is saved.
In my humble SEO opinion every page needs an unique Meta Description. Keywords seems to be less important for search engines, but why not add them automatically anyway! The function counts how many times each word exist in the Content, order the words by occurrence and glues the words to a comma separated string. In this function only words with more then 4 characters are counted, but you can adjust that if you like.
Continue reading... -
TutorialsUsing a nested controller for generic URL handling
1 February 2011 | | | Supports v2.4, v2.3
TweetIn this tutorial we'll be taking a look at SilverStripes nested controller concept and how you can use it in your own projects. Keep in mind though that this tutorial is probably for the more advanced users and for those who whish to learn abit more about how SilverStripe works. I will be referencing Controllers Instead of Pages by Ty Barho and the nested controller we'll be building will be for handling his scenario.
I have also taken the liberty of including a zip file which contains all the code examples from Tys tutorial + the new controller and the new URL rule for it.
Continue reading... -
BlogVote Now! - March Site of the Month
14 March 2011 | |
Tweet
So here they are (finally) the best 5 entries from this month, and there are some crackers! Let the voting commense!
Continue reading... -
BlogJune Site of the Month - Vote Now!
20 June 2011 | |
Tweet
Some fantastic and innovative sites this month, but which one is your favourite?
Continue reading... -
BlogVote Now! - August Site of the Month
15 August 2011 | |
Tweet
Here they are, 5 great SilverStripe sites for you to vote for your favourite!
Continue reading... -
BlogAugust Site of the Month Winner!
9 September 2011 | |
Tweet
The Votes are (finally) in! And the winner of September's SSbits Site Of The Month is.....
Continue reading... -
TutorialsCreating and deleting dataobjects from the front end
29 June 2012 | | | Supports v2.4
Tweet
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... -
SnippetsSilverStripe developer bookmarklets
2 April 2012 | | | Supports v2.4, v2.3
Tweet
Here are some handy dynamic bookmarklets for your browser for one click access to things like rebuilding the database, flushing the cache and accessing the CMS!
Continue reading... -
BlogSilverStripe 3.0 Review
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... -
SnippetsCustomise Form Actions to use the <button> tag
12 June 2010 | |
TweetBy Default, SilverStripe uses the <input type="submit"> tag for it's form actions. However, sometimes you may want to use the <button> tag to give you a little more control over styling. This snippet shows you how, as well as giving you code to achieve the same thing in UserForms!
Continue reading... -
SnippetsUsing Dates in Foreign Languages
17 November 2009 | | | Supports v2.4, v2.3
TweetWith all the translatable, i18n and other translation related stuff in silverstripe, I think more than one is wondering how to achieve something simple as using dates in a foreign language... Actually, it's ultra easy if you add this 2 lines in your silverstripe powered website.
Continue reading... -
SnippetsCreating a Page Export Function
6 May 2009 | | | Supports v2.4, v2.3
TweetNeed to create an 'export' function for a page? Do it quickly and cleanly with HTTP::sendFileToBrowser. In your page controller, add a new action 'export':
Continue reading...