Archive: November, 2015

Subsites: hide "Main Site" from subsite chooser in backend

So your client wants to manage multiple websites with one CMS installation and you've choosen Subsites module for that purpose, there is always that magical "Main Site" in your site chooser.
Read more about 'Subsites: hide "Main Site" from subsite chooser in backend'...

Simple spam protection for comments

Running a blog or other type of comment form without spam protection is a bit risky theese days. But sometimes you want others to comment on your writings.
Read more about 'Simple spam protection for comments'...

How to Logout Inactive Users

If you need to control log out of logged in users that are not active for a certain amount of time...
Read more about 'How to Logout Inactive Users'...

Switch Text to HTMLText on the fly

Assuming you have a model using plain scaffolding (like my simple team listing module for SilverStripe does) you can easily switch a $db field from Text to HTMLText in your...
Read more about 'Switch Text to HTMLText on the fly'...

Modeladmin: Sorting gridfield automatically

Sometimes you want to sort your gridfield in ModelAdmin by default when you have a sorting column in your DataObject.
Read more about 'Modeladmin: Sorting gridfield automatically'...

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'...
RSS feed for this blog