Tag: silverstripe-4

Basic Site Search in SilverStripe 4

Sometimes when implementing search functionality on a SilverStripe website, you may find youself just needing a very basic site search without wanting to implement a full-scale search platform like Solr.
Read more about 'Basic Site Search in SilverStripe 4'...

Hiding pagestypes from the sitetree in SilverStripe 4

Sometimes when you have a ModelAdmin for creating pages you really don't want to clutter the SiteTree with all this pages.
Read more about 'Hiding pagestypes from the sitetree in SilverStripe 4'...

Inlining fields in the CMS in SilverStripe 4

Sometimes you'll find in SilverStripe your UI gets a bit cumbersome if you have many similar fields that really don't need to be full width.
Read more about 'Inlining fields in the CMS in SilverStripe 4'...

How to translate for one or more items: Pluralism made easy

It is quite easy to pluralise .yml translated strings in SilverStripe 4 these days. Lets take a simple example where I want to pluralise some search results.
Read more about 'How to translate for one or more items: Pluralism made easy'...

Getting the new SilverStripe pattern library running

When SilverStripe 4.1 came out I read an interesting note in the changelog about the new pattern library.
Read more about 'Getting the new SilverStripe pattern library running'...

SS4: add HTML to a FormField label

Everyone knows that "Terms and Conditions" checkbox in forms. "By signing up you agree to..." with a link to the terms and condiditions.
Read more about 'SS4: add HTML to a FormField label'...

SS4: Replacement for good ol’ $ThemeDir: or loading themed resources

The upgrade to SS4.1 has changed how themed resources (and any other resources) need to be loaded. They will need to be loaded from the public/resources/ directory now.
Read more about 'SS4: Replacement for good ol’ $ThemeDir: or loading themed resources'...

SS4: Uncaught TypeError on dev/build

I updated a project to SilverStripe 4.1 on an older development VM. When running dev/build I got an error:
Read more about 'SS4: Uncaught TypeError on dev/build'...

SS4: edit many_many_extraFields in a GridField detail form

In a recent project I had a $many_many relation between TeamMember and TeamGroup where each member can have a different role per group.
Read more about 'SS4: edit many_many_extraFields in a GridField detail form '...
RSS feed for this blog