Tag: Silverstripe

Silverstripe 3 Pagination fix

So I was trying to paginate a custom search.

Read more about 'Silverstripe 3 Pagination fix'...

Silverstripe 3 adding index.php to URLs

Had a problem where Silverstripe was adding index.php to all URLs which was a pain in the ass.

Read more about 'Silverstripe 3 adding index.php to URLs'...

Solved: Silverstripe Problem adding styles to WYSIWYG editor

I was adding styles to my typography CSS file, which is the correct way to add custom styles that can be added / removed by the user in the editor:

Read more about 'Solved: Silverstripe Problem adding styles to WYSIWYG editor'...

Silverstripe 3.1 HTMLEditorField embedded images now have a changable default width setting

Silverstripe's default is to embed images with an auto width set of 600px. This is often not an appropriate width setting for your client, as they may be uploading extra...

Read more about 'Silverstripe 3.1 HTMLEditorField embedded images now have a changable default width setting'...

Member isAdmin no longer available in Silverstripe 3

As the "isAdmin" method is no longer available for the Member class in Silverstripe 3.0 the best way to detect for an admin in the template is now to use...

Read more about 'Member isAdmin no longer available in Silverstripe 3'...

The new DataExtension Class replacing DataObjectDecorator in Silverstripe 3.0

With the impending release of Silverstripe 3.0, we now need to do things differently when decorating objects. Instead of using extending the DataObjectDecorator class, we now need to extend DataExtension.

Read more about 'The new DataExtension Class replacing DataObjectDecorator in Silverstripe 3.0'...

Mobile redirection on Silverstripe CMS

When you want to use the mobile redirection script on a Silverstripe CMS install, you have to do things a little different.

Read more about 'Mobile redirection on Silverstripe CMS'...