Tag: Silverstripe 3
Silverstripe 3 Pagination fix
So I was trying to paginate a custom search.
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 wont rename tables from uppercase
So problem where normally Silverstripe has been automatically renaming table from uppercase, for say when you want to move your DB from a windows machine to a linux machine, now...
Read more about 'Silverstripe 3.1 wont rename tables from uppercase'...
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...
Silverstripe 3 file upload error JSON unexpected character
If you get a Silverstripe 3 upload error (SyntaxError: JSON.parse: unexpected character) The the solution is simple. Make sure your assets folder is writable by the web server.
Read more about 'Silverstripe 3 file upload error JSON unexpected character'...
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'...