Blog

TinyMCE does not load on nginx

Sometimes when installing your great SilverStripe site on an nginx webserver, TinyMCE (aka HTMLEditorField) won't load due to a 404 when grabbing the javascript.
Read more about 'TinyMCE does not load on nginx'...

Silverstripe 3.2: clean up the CMS

As seen in this interesting talk about useful Silverstripe Modules (video) at StripeCon15 it's possible to add some extra css to LeftAndMain to style the backend experience.
Read more about 'Silverstripe 3.2: clean up the CMS'...

Retrieving some DataObjects in template without php getter

When trying to get e.g. the lastest blog posts in your template you normally create a getter for theese in php like:
Read more about 'Retrieving some DataObjects in template without php getter'...

Filter used GET parameters and pass them to the current link

Sometimes you hack something together and if a special get parameter is used something should appear different on the current page.
Read more about 'Filter used GET parameters and pass them to the current link'...

How to speed up unit tests using sqlite

Running unit tests might be dead slow if you're using mysql for it, cause for every test a new DB is set up and destroyed afterwards.
Read more about 'How to speed up unit tests using sqlite'...

Diagram of relationships in SilverStripe

After reading https://docs.silverstripe.org/en/3.1/developer_guides/model/ you might need a quick reminder on the relationships between objects... here is a quick visual reminder...
Read more about 'Diagram of relationships in SilverStripe'...

Stop default pages being created

This is created based of requireDefaultRecords in SiteTree (in cms package), this indicates that this can be stopped with a yml config (in _config/config.yml)
Read more about 'Stop default pages being created'...

1 2 3 4 5 6 7

RSS feed for this blog