Archive: August, 2015
Remove Help Menu Item
As the menu item is created late in the process you need to extend LeftAndMain and then in onAfterInit remove the item...
Read more about 'Remove Help Menu Item'...
Read more about 'Remove Help Menu Item'...
Can you use Facebook, Google or Twitter to login / get Member details?
Yes you can you can use any of the above for single-sign-on (SSO) and also to retrieve member information, please use the following module...
Read more about 'Can you use Facebook, Google or Twitter to login / get Member details?'...
Read more about 'Can you use Facebook, Google or Twitter to login / get Member details?'...
Hooking into Dev/Build
If you would like to hook code before / after the dev/build ...
Read more about 'Hooking into Dev/Build'...
Read more about 'Hooking into Dev/Build'...
How to switch off Subsites extension on a DataList
When running subsites the old (2.4) way of disabling or enabling subsites is:
Read more about 'How to switch off Subsites extension on a DataList'...
Read more about 'How to switch off Subsites extension on a DataList'...
How to tell, if a DataObject is already written to DB
Sometimes you want to check, if you're DataObject is still a new object or already written to DB, e..g in your onBeforeWrite() method. You can either check
Read more about 'How to tell, if a DataObject is already written to DB'...
Read more about 'How to tell, if a DataObject is already written to DB'...
Howto send emails to more recipients
Silverstripe's Email class uses the standard php mail() function for sending emails. Sending an email to one recipient is clear, put the mail adress in the "to" parameter.
Read more about 'Howto send emails to more recipients'...
Read more about 'Howto send emails to more recipients'...
Admin Login Styling
Often people ask if they can style the admin, yes and there is a module for that...
Read more about 'Admin Login Styling'...
Read more about 'Admin Login Styling'...
Add an image into a PHPExcel cell
Add an image into a PHPExcel cell
Read more about 'Add an image into a PHPExcel cell '...
Read more about 'Add an image into a PHPExcel cell '...
Ability to group items on the same line in a form
Ability to group items on the same line in a form
Read more about 'Ability to group items on the same line in a form'...
Read more about 'Ability to group items on the same line in a form'...
Include raw HTML in gridfield
If you need to show data within a gridfield including raw HTML... <?php class ObjectA extends DataObject { static $db = array( "Name" => "Varchar", ); static $has_many = array(...
Read more about 'Include raw HTML in gridfield '...
Read more about 'Include raw HTML in gridfield '...