Blog
TITNFE: Template in theme not found error
Sometimes your template in your theme is not found. Why?
Read more about 'TITNFE: Template in theme not found error'...
Read more about 'TITNFE: Template in theme not found error'...
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'...
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'...
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'...
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'...
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'...
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'...
Read more about 'TinyMCE does not load on nginx'...
Sort Tags by popularity, or: how to sort a DataObject by count of many_many relation
Today I did some minor updates on a site with a blog and wanted to show the most popular tags.
Read more about 'Sort Tags by popularity, or: how to sort a DataObject by count of many_many relation'...
Read more about 'Sort Tags by popularity, or: how to sort a DataObject by count of many_many relation'...
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'...
Read more about 'Silverstripe 3.2: clean up the CMS'...
Howto fix "PDOException: SQLSTATE[HY000] [2002] No such file or directory"
Sometimes everything works fine in the browser and then you want to make a job using CLI and get an error:
Read more about 'Howto fix "PDOException: SQLSTATE[HY000] [2002] No such file or directory"'...
Read more about 'Howto fix "PDOException: SQLSTATE[HY000] [2002] No such file or directory"'...