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
-
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... -
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... -
TutorialsSetting and displaying custom messages in your site
31 October 2011 | | | Supports v2.4
Tweet
There is a method on SilverStripe's Form class to set a success or error message when the form is submitted. That's cool... but sometimes you need to display a message that is not related to a form. I've created a couple of simple controller methods to enable setting and displaying of message banners anytime.
Continue reading... -
BlogOctober Site of the Month Winner!
25 October 2011 | |
Tweet
The Votes are in! And the winner of October's SSbits Site Of The Month is.....
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... -
TutorialsAdding Custom Filterable Reports to ReportAdmin
7 October 2011 | | | Supports v2.4
Tweet
With only the standard Broken Links Report, the report admin area in Silverstripe's CMS can feel a bit underused. In this tutorial I'm going to take a look at how you can add a custom report into the report admin section of the CMS which can make keeping track of a variety of statistics a little more straightforward.
To keep this simple I am going to give users the ability to assign a colour to each page on the site and then generate a report of any pages on the site that have been assigned a particular colour.
Continue reading... -
BlogEnter now! - October Site of the Month
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... -
SnippetsAutomatically Redirect to the first Child Page without a Redirector Page
27 September 2011 | | | Supports v2.4
TweetThis is a little snipped i've been using to redirect a custom page to it's first child. It extends the init method of the Controller. This has proven useful in cases where the client wants to re-sort the child pages and doesn't want to mess around the configuration of a redirector page.
Continue reading... -
SnippetsInserting Javascript into a DOM Popup
11 September 2011 | | | Supports v2.4, v2.3
TweetI recently ran into the problem of how to insert my own Javascript into a DOM (DataObjectManager) popup window. After much googling and getting nowhere I resorted to reading the code and discovered that it was in fact quite simple to do.
The problem I was trying to solve was for a dropdown select box to toggle fields in the form, depending on whether a link is internal or external to the site.
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... -
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... -
TutorialsSorting on a related DataObject in ModelAdmin
2 August 2011 | | | Supports v2.4
TweetSometimes, in ModelAdmin, we want to be able to have a different default sort.
Specifically, like in cases where a has_one is the preferred sorting. For example, we have a warehouse. In our DataObjects, we have the object "Lanes", has_many Products. And we have Products, has_one "Lanes". When we're browsing our Products in the admin, we want to have them default sorted by their Lane, not their name.
Just saying default_sort = 'Lanes'; sadly does not do the job. It'll give you reddish-screens and stuff. Which is not what we like.
Here's a (quite simple actually) solution.
Continue reading... -
SnippetsHighlighting Query Text in Search Results
12 July 2011 | | | Supports v2.4
Tweet
Most search results I have seen with Silverstripe just return the Summary of the page or the FirstSentence. I have knocked up a quick way to show a sentence from the page that contains the search term and even highlights it for you.
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... -
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...