Blog

Scaffolding Forms With many_many Relations (And Checkboxes)

In one of my latest projects we have a lot of frontend forms related to DataObjects. Instead of building the FieldList manually we use the form scaffolder, a great tool.
Read more about 'Scaffolding Forms With many_many Relations (And Checkboxes)'...

How to get all many_many relations of a list

When you have a $many_many relation, e.g. Page m:n RelationTag, it's easy to get all the Tags of one specific Page.
Read more about 'How to get all many_many relations of a list'...

Partial Caching and JavaScript Requirements

Partial Caching is a great tool for speeding up your website - but if done too aggresively your javascript will not be included.
Read more about 'Partial Caching and JavaScript Requirements'...

Translatable Controller URLs

You can easily translate CMS content with translatable or fluent, but what if you have an url that is just grabbed by a controller?
Read more about 'Translatable Controller URLs'...

Get Related Pages, or: Filter By Many_Many Relation

On our Slack community channel today one question was, how to get all other pages with the same tags like the current page.
Read more about 'Get Related Pages, or: Filter By Many_Many Relation'...

Piwik: track telephone and email links

It's possible to link to telephone numbers which can easily be dialed on mobile devices. But piwik automatically just tracks links that use the http protocol.
Read more about 'Piwik: track telephone and email links'...

More Speed with PHP7 on SilverStripe 3

Unfortunately SilverStripe 3 doesn't work with PHP7 out of the box due to some naming conflicts with newly reserved words. Some community members already fixed the problem.
Read more about 'More Speed with PHP7 on SilverStripe 3'...

Speeding Up MySQL (instead of using sqlite)

Many people use sqlite for testing purposes because it's fast... and it's fast because it uses memory for many operations instead of the disk...
Read more about 'Speeding Up MySQL (instead of using sqlite)'...

Fluent and Partial Caching

Fluent is a great SilverStripe module for translating sites, that need the same tree for all locales. Unfortunately there are some pitfalls with partial caching.
Read more about 'Fluent and Partial Caching'...

Speed up a vagrant machine on windows

Vagrant is a great tool for developing a SilverStripe site, it's easy to set up a new VM for each project.
Read more about 'Speed up a vagrant machine on windows'...

1 2 3 4 5 ... 9

RSS feed for this blog