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

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

Hooking into Dev/Build

If you would like to hook code before / after the dev/build ...
Read more about 'Hooking into Dev/Build'...

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

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

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

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

1 2

RSS feed for this blog