Blog » SilverStripe » 10 Super Useful SilverStripe Documentation Pages
11
Apr
8
10 Super Useful SilverStripe Documentation Pages
Since I started learning SilverStripe I have come across a number of very useful documentation pages which were not very easy to find (at least not as easy as they could be). So here is a list of 10 official documentation pages which I always find myself referring back to.
Page-Types
Explains the principles behind a page type and how to use them to structure your data into a Model and Controller. It also covers adding/removing inherited CMS fields.
Form Field Types
An index of all the different types of form field you can use within SilverStripe without any custom modules. It's a great resource that makes creating CMS fields and forms a simple copy and paste affair.
Built in Page Controls
Ever wondered what variables & methods you have available to you when building a template in SilverStripe? Well this page lists them all and also provides a pretty comprehensive explanation of the most commonly used, such as $LinkingMode and $CurrentMember.
Customising the Hierarchy
Gives you a list of all the different options you have to control the structure of the hierarchy, such as setting default child pages or defining create permissions.
GD Functions
This page lists all the functions you can use to manipulate images, both in the template and in your controller.
DataModel
Goes through the principles and the implementation of DataModels in SilverStripe, an essential concept if you want to do anything beyond a basic site.
DataObjectDecorator
Covers the very powerful and useful topic of decorating a class, where by you add database fields and CMS fields from an external class called a DataObjectDecorator.
ModelAdmin
This great new feature in 2.3 allows you to create a custom interface for managing large numbers of DataModels. This page will get you started.
Recipes
A great resource for short tutorials and code snippets. Lot's of cool stuff in there from adding pagination to building a site tree style menu.
Modules: DataObjectManager
This fantastic new module created by Aaron Carlino adds a wealth of new features to the ComplexTableField. It really is an essential module to consider when building a site with any sort of DataObject relationship. This page takes you through setting up the different types of manager their their related Objects. There are also a couple great new form fields that become available when installing the module, including a popup HTML editor field and a jQuery calendar field.
About the Author
Name: Aram Balakjian
Website: http://www.aabweb.co.uk
Aram is a web designer/developer running London based agency aab web. He has a strong passion for developing attractive, usable sites around the SilverStripe CMS.
Comments (8)
-
I am curious what you think would be the best resource for getting a good understanding of the sapphire frameworks structure?
I have years of web dev experience but haven\'t worked with this type of app before (spent a lot of time in flash useing php just to populate with data)..
I hope to find a clean structural description of the framework (maybe some UML?) and some help on how to use the API docs.
Any ideas?Posted by DX, 02/06/2010 4:36pm (2 months ago)
-
Super , starting documents. I will read all of them. Thank you.
Posted by MySQL Nedir, 29/05/2010 3:33pm (2 months ago)
-
thanx you admin
Posted by Sigarayı Bırakma, 10/03/2010 5:32am (5 months ago)
-
saol admincim
Posted by alışveriş, 10/03/2010 5:30am (5 months ago)
-
lol, thanks FriendlyNeighborhoodSpellChecker
Posted by Aram, 19/02/2010 9:01am (5 months ago)
-
Recipes, not Recipies.
Posted by FriendlyNeighborhoodSpellChecker, 18/02/2010 12:29pm (5 months ago)
-
Hi Steve
The second argument should be the field label and the third the default, although I am not sure it will work for checkboxes. Try CheckboxField('ShowHeadNav', 'Show nav', 1));
If that doesn't work try setting it in the static $defaults array.
AramPosted by aram, 05/01/2010 5:53am (7 months ago)
-
Hi Aram,
I have added a new ... CheckboxField('ShowHeadNav', 1)); to get a default checked box, but cannot. Any ideas what I should be doing? 2.2.3Posted by Steve Nyhof, 04/01/2010 6:53pm (7 months ago)
RSS feed for comments on this page RSS feed for all comments