Blog

Get all titles of a many_many component in a GridField summary

Assuming you have a DataObject with $many_many Tags, you can easily add all Tag's Titles comma seperated to $summary_fields using PHP's join method, even sorted by the SortOrder of the...
Read more about 'Get all titles of a many_many component in a GridField summary'...

Show draft content to limited user group

Imagine your customer somehow needs to send draft pages (not published pages) to someone else for proof reading before he can publish it.
Read more about 'Show draft content to limited user group'...

Subsites: Show modeladmin in backend on all subsites

By default subsites module disables all custom modeladmin classes in backend when you're not on the Main site (SubsiteID 0).
Read more about 'Subsites: Show modeladmin in backend on all subsites'...

Copy / Duplicate the DataObject

If you need to add ability for users to duplicate rows within ModelAdmin (or GridField) then please see the following module...
Read more about 'Copy / Duplicate the DataObject'...

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

How to Logout Inactive Users

If you need to control log out of logged in users that are not active for a certain amount of time...
Read more about 'How to Logout Inactive Users'...

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

1 2 3 4 5 6 7

RSS feed for this blog