Home - Your one stop SilverStripe learning resource
- Show all
- Site Tree
- Site of the Month
- Model Admin
- SilverStripe 3
5 August 2009 | |Tweet
3 July 2009 | |Tweet
If you want to remove an item from the CMSTopMenu without making it inaccessible you can add this line to your _config.php file:
SnippetsResizing and Manipulating Images
22 March 2009 | | | Supports v2.4, v2.3Tweet
You can resize images from within the template very easily. But sometimes you need to resize it and just use the URL value, something you can't do by calling the resize on the variable directly (e.g. $Image.CroppedImage(200,200)). This is how we would create a cropped resize of it and still be able to use just the URL, allowing a custom <img> tag.Continue reading...
26 March 2009 | | | Supports v2.4, v2.3Tweet
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...
15 August 2011 | |Tweet
Here they are, 5 great SilverStripe sites for you to vote for your favourite!Continue reading...
12 March 2010 | | | Supports v2.4, v2.3Tweet
PHP has a very shallow learning curve, it's free and anyone can have a go at making a website by following a few tutorials and implementing their experience with other languages. However, coding for the web can be a risky business, especially with dynamic websites that take some kind of user (or external) input and use that to get data from a database.Continue reading...
SnippetsUsing a Print Stylesheet
16 December 2009 | |Tweet
Often people want to be able to print webpages without all the menus and graphics and with all the content fitting correctly onto a page. To do this you need to create a separate print stylesheet. It would look something like this:Continue reading...
SnippetsSpice up Your CMS Sitetree
27 August 2009 | | | Supports v2.4, v2.3Tweet 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...
16 July 2009 | | | Supports v2.4, v2.3Tweet
Often you will want to manipulate every nth item inside a <% control %> loop. For example say you had a gallery and you wanted every 3rd image to start on a new line, you need to be able to test each item from the template to see if it is divisible by 3 and should therefore have the clear CSS class added to it.Continue reading...
SnippetsCreating a Page Export Function
6 May 2009 | | | Supports v2.4, v2.3Tweet
Need 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...
4 October 2011 | |Tweet
Enter your site for a chance to be in the final 5 vote off! Voting will begin on the 12th of October.Continue reading...
TutorialsLeaflet with SS3
19 November 2012 | | | Supports v3.0Tweet
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...
19 January 2011 | |Tweet
So here we are, after a slightly longer than usual wait: The January 2011 Site of the Month Finalists! There are some really great sites this month so vote on your favourite now!Continue reading...
20 June 2011 | |Tweet
Some fantastic and innovative sites this month, but which one is your favourite?Continue reading...
30 March 2011 | |Tweet
The Votes are in! And the winner of March's SSbits Site Of The Month is.....Continue reading...