Werner Krauss

Freelancer. Does PHP since 1998 and uses Silverstripe since 2009. Runs different customer websites and his main project, www.hallstatt.net with it.

When he's not in front of his laptop he enjoys family and playing his guitar.

Posts by Werner Krauss for Blog:

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'...

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'...

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'...

1 2 3 4